ops_file.h 818 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
  3. * Copyright (C) 2004-2006 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 version 2.
  8. */
  9. #ifndef __OPS_FILE_DOT_H__
  10. #define __OPS_FILE_DOT_H__
  11. #include <linux/fs.h>
  12. struct gfs2_inode;
  13. extern struct file gfs2_internal_file_sentinel;
  14. extern int gfs2_internal_read(struct gfs2_inode *ip,
  15. struct file_ra_state *ra_state,
  16. char *buf, loff_t *pos, unsigned size);
  17. extern void gfs2_set_inode_flags(struct inode *inode);
  18. extern const struct file_operations gfs2_file_fops;
  19. extern const struct file_operations gfs2_dir_fops;
  20. #endif /* __OPS_FILE_DOT_H__ */