Commit bb18cd7f authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

[PATCH] nuke some crap from fs.h

Remove four dead prototypes and don't include mount.h here - fs.h
itself doesn't need it at all (just the struct vfsmount forward
declaration) and gets it through dcache.h anyway.
parent 61184519
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
struct poll_table_struct; struct poll_table_struct;
struct nameidata; struct nameidata;
struct vfsmount;
/* /*
* It's silly to have NR_OPEN bigger than NR_FILE, but you can change * It's silly to have NR_OPEN bigger than NR_FILE, but you can change
...@@ -271,10 +271,9 @@ struct iattr { ...@@ -271,10 +271,9 @@ struct iattr {
#define ATTR_FLAG_NODIRATIME 16 /* Don't update atime for directory */ #define ATTR_FLAG_NODIRATIME 16 /* Don't update atime for directory */
/* /*
* Includes for diskquotas and mount structures. * Includes for diskquotas.
*/ */
#include <linux/quota.h> #include <linux/quota.h>
#include <linux/mount.h>
/* /*
* oh the beauties of C type declarations. * oh the beauties of C type declarations.
...@@ -1341,11 +1340,6 @@ extern struct inode_operations simple_dir_inode_operations; ...@@ -1341,11 +1340,6 @@ extern struct inode_operations simple_dir_inode_operations;
extern unsigned int real_root_dev; extern unsigned int real_root_dev;
#endif #endif
extern ssize_t char_read(struct file *, char *, size_t, loff_t *);
extern ssize_t block_read(struct file *, char *, size_t, loff_t *);
extern ssize_t char_write(struct file *, const char *, size_t, loff_t *);
extern ssize_t block_write(struct file *, const char *, size_t, loff_t *);
extern int inode_change_ok(struct inode *, struct iattr *); extern int inode_change_ok(struct inode *, struct iattr *);
extern int inode_setattr(struct inode *, struct iattr *); extern int inode_setattr(struct inode *, struct iattr *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment