dquot: move dquot transfer responsibility into the filesystem
authorChristoph Hellwig <hch@infradead.org>
Wed, 3 Mar 2010 14:05:02 +0000 (09:05 -0500)
committerJan Kara <jack@suse.cz>
Thu, 4 Mar 2010 23:20:28 +0000 (00:20 +0100)
commit759bfee658beab14af7b357156461d0eb852be2c
tree180cdedd004781ee67c30ce89951324d32910067
parent63936ddaa16b9486e2d426ed7b09f559a5c60f87
dquot: move dquot transfer responsibility into the filesystem

Currently notify_change calls vfs_dq_transfer directly.  This means
we tie the quota code into the VFS.  Get rid of that and make the
filesystem responsible for the transfer.  Most filesystems already
do this, only ufs and udf need the code added, and for jfs it needs to
be enabled unconditionally instead of only when ACLs are enabled.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/attr.c
fs/jfs/acl.c
fs/jfs/file.c
fs/jfs/jfs_acl.h
fs/jfs/jfs_inode.h
fs/jfs/namei.c
fs/udf/file.c
fs/ufs/truncate.c