dquot: cleanup dquot transfer routine
authorChristoph Hellwig <hch@infradead.org>
Wed, 3 Mar 2010 14:05:03 +0000 (09:05 -0500)
committerJan Kara <jack@suse.cz>
Thu, 4 Mar 2010 23:20:29 +0000 (00:20 +0100)
commitb43fa8284d7790d9cca32c9c55e24f29be2fa33b
treeacb7f205fe2a1ae324e0e11c50f43baaa6b8dfab
parent759bfee658beab14af7b357156461d0eb852be2c
dquot: cleanup dquot transfer routine

Get rid of the transfer dquot operation - it is now always called from
the filesystem and if a filesystem really needs it's own (which none
currently does) it can just call into it's own routine directly.

Rename the now static low-level dquot_transfer helper to __dquot_transfer
and vfs_dq_transfer to dquot_transfer to have a consistent namespace,
and make the new dquot_transfer return a normal negative errno value
which all callers expect.

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