]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d0ce7d9ecadde3f534dc59c442e261ff9e2fb99
tree180cdedd004781ee67c30ce89951324d32910067
parentf86b6fc3e1661b76cbbf2cee5592f92f7d214960
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