[GFS2] Fix bug in directory code and tidy up
[linux-2.6] / fs / gfs2 / ops_file.h
1 /*
2  * Copyright (C) Sistina Software, Inc.  1997-2003 All rights reserved.
3  * Copyright (C) 2004-2005 Red Hat, Inc.  All rights reserved.
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
7  * of the GNU General Public License v.2.
8  */
9
10 #ifndef __OPS_FILE_DOT_H__
11 #define __OPS_FILE_DOT_H__
12 extern struct file gfs2_internal_file_sentinal;
13 extern int gfs2_internal_read(struct gfs2_inode *ip,
14                               struct file_ra_state *ra_state,
15                               char *buf, loff_t *pos, unsigned size);
16
17 extern struct file_operations gfs2_file_fops;
18 extern struct file_operations gfs2_dir_fops;
19
20 #endif /* __OPS_FILE_DOT_H__ */