X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fgfs2%2Fops_file.h;h=7e5d8ec9c8463c1bbcc354d13379d57c8844324c;hb=ecd27b92fbb41f779d857632a69bd45dbaf0f915;hp=95123d7bbcdf41bcf0cd29ffb4f49bd0fe5b8b5e;hpb=2ff4782374dde5e3d76daf8a82eae396c0f76567;p=linux-2.6 diff --git a/fs/gfs2/ops_file.h b/fs/gfs2/ops_file.h index 95123d7bbc..7e5d8ec9c8 100644 --- a/fs/gfs2/ops_file.h +++ b/fs/gfs2/ops_file.h @@ -1,16 +1,24 @@ /* * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. - * Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved. + * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions - * of the GNU General Public License v.2. + * of the GNU General Public License version 2. */ #ifndef __OPS_FILE_DOT_H__ #define __OPS_FILE_DOT_H__ -extern struct file_operations gfs2_file_fops; -extern struct file_operations gfs2_dir_fops; +#include +struct gfs2_inode; + +extern struct file gfs2_internal_file_sentinel; +extern int gfs2_internal_read(struct gfs2_inode *ip, + struct file_ra_state *ra_state, + char *buf, loff_t *pos, unsigned size); +extern void gfs2_set_inode_flags(struct inode *inode); +extern const struct file_operations gfs2_file_fops; +extern const struct file_operations gfs2_dir_fops; #endif /* __OPS_FILE_DOT_H__ */