[PATCH] move remove_dquot_ref to dqout.c
authorChristoph Hellwig <hch@lst.de>
Mon, 12 Feb 2007 08:51:57 +0000 (00:51 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:28 +0000 (09:48 -0800)
commitfb58b7316a99703afb8d076b0e5f3e1e387e4b30
treed2aabf3413fc3e94a6760c364caf0762915a6273
parentea6f3281a145d16ed53e88b0627f78d5cde6068f
[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>
fs/dquot.c
fs/inode.c
include/linux/fs.h