dquot: cleanup inode allocation / freeing routines
authorChristoph Hellwig <hch@infradead.org>
Wed, 3 Mar 2010 14:05:01 +0000 (09:05 -0500)
committerJan Kara <jack@suse.cz>
Thu, 4 Mar 2010 23:20:28 +0000 (00:20 +0100)
commit63936ddaa16b9486e2d426ed7b09f559a5c60f87
tree4cb1c4581799e10c26dd71d1a7d420de3c2cfd05
parent5dd4056db84387975140ff2568eaa0406f07985e
dquot: cleanup inode allocation / freeing routines

Get rid of the alloc_inode and free_inode dquot operations - they are
always called from the filesystem and if a filesystem really needs
their own (which none currently does) it can just call into it's
own routine directly.

Also get rid of the vfs_dq_alloc/vfs_dq_free wrappers and always
call the lowlevel dquot_alloc_inode / dqout_free_inode routines
directly, which now lose the number argument which is always 1.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
18 files changed:
Documentation/filesystems/Locking
fs/ext2/ialloc.c
fs/ext3/ialloc.c
fs/ext3/super.c
fs/ext4/ialloc.c
fs/ext4/super.c
fs/jfs/inode.c
fs/jfs/jfs_inode.c
fs/ocfs2/inode.c
fs/ocfs2/namei.c
fs/ocfs2/quota_global.c
fs/quota/dquot.c
fs/reiserfs/inode.c
fs/reiserfs/super.c
fs/udf/ialloc.c
fs/ufs/ialloc.c
include/linux/quota.h
include/linux/quotaops.h