diff options
author | Christoph Hellwig <hch@lst.de> | 2007-02-12 03:51:57 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:28 -0500 |
commit | fb58b7316a99703afb8d076b0e5f3e1e387e4b30 (patch) | |
tree | d2aabf3413fc3e94a6760c364caf0762915a6273 /include/linux/fs.h | |
parent | ea6f3281a145d16ed53e88b0627f78d5cde6068f (diff) |
[PATCH] move remove_dquot_ref to dqout.c
Remove_dquot_ref can move to dqout.c instead of beeing in inode.c under
#ifdef CONFIG_QUOTA. Also clean the resulting code up a tiny little bit by
testing sb->dq_op earlier - it's constant over a filesystems lifetime.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Jan Kara <jack@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 20fd1619ccfb..990adcbc0df2 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1688,7 +1688,6 @@ extern struct inode *new_inode(struct super_block *); | |||
1688 | extern int __remove_suid(struct dentry *, int); | 1688 | extern int __remove_suid(struct dentry *, int); |
1689 | extern int should_remove_suid(struct dentry *); | 1689 | extern int should_remove_suid(struct dentry *); |
1690 | extern int remove_suid(struct dentry *); | 1690 | extern int remove_suid(struct dentry *); |
1691 | extern void remove_dquot_ref(struct super_block *, int, struct list_head *); | ||
1692 | 1691 | ||
1693 | extern void __insert_inode_hash(struct inode *, unsigned long hashval); | 1692 | extern void __insert_inode_hash(struct inode *, unsigned long hashval); |
1694 | extern void remove_inode_hash(struct inode *); | 1693 | extern void remove_inode_hash(struct inode *); |