]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - fs/gfs2/ops_file.h
[GFS2] Only set inode flags when required
[mirror_ubuntu-artful-kernel.git] / fs / gfs2 / ops_file.h
CommitLineData
b3b94faa
DT
1/*
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3a8a9a10 3 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
b3b94faa
DT
4 *
5 * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions
e9fc2aa0 7 * of the GNU General Public License version 2.
b3b94faa
DT
8 */
9
10#ifndef __OPS_FILE_DOT_H__
11#define __OPS_FILE_DOT_H__
f2f7ba52
SW
12
13#include <linux/fs.h>
14struct gfs2_inode;
15
dd538c83 16extern struct file gfs2_internal_file_sentinel;
f42faf4f
SW
17extern int gfs2_internal_read(struct gfs2_inode *ip,
18 struct file_ra_state *ra_state,
19 char *buf, loff_t *pos, unsigned size);
6b124d8d 20extern void gfs2_set_inode_flags(struct inode *inode);
b0dd9308
SW
21extern const struct file_operations gfs2_file_fops;
22extern const struct file_operations gfs2_dir_fops;
b3b94faa
DT
23
24#endif /* __OPS_FILE_DOT_H__ */