aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-09-29 04:59:56 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-29 12:18:11 -0400
commit0e51a720b9d9ea5ebf0fda39108919c6626bffa3 (patch)
treeef3fed3bca02c3439a9c44358171c1cceef8af70
parenta3172027148120b8f8797cbecc7d0a0b215736a1 (diff)
[PATCH] ifdef ->quota_read, ->quota_write
All suppliers of ->quota_read, ->quota_write (I've found ext2, ext3, UFS, reiserfs) already have them properly ifdeffed. All callers of ->quota_read, ->quota_write are under CONFIG_QUOTA umbrella, so... Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--include/linux/fs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 8f74dfbb2edd..4caec6cebc42 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1143,9 +1143,10 @@ struct super_operations {
1143 1143
1144 int (*show_options)(struct seq_file *, struct vfsmount *); 1144 int (*show_options)(struct seq_file *, struct vfsmount *);
1145 int (*show_stats)(struct seq_file *, struct vfsmount *); 1145 int (*show_stats)(struct seq_file *, struct vfsmount *);
1146 1146#ifdef CONFIG_QUOTA
1147 ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t); 1147 ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t);
1148 ssize_t (*quota_write)(struct super_block *, int, const char *, size_t, loff_t); 1148 ssize_t (*quota_write)(struct super_block *, int, const char *, size_t, loff_t);
1149#endif
1149}; 1150};
1150 1151
1151/* Inode state bits. Protected by inode_lock. */ 1152/* Inode state bits. Protected by inode_lock. */