quota: unify ->get_dqblk
authorChristoph Hellwig <hch@infradead.org>
Thu, 6 May 2010 21:04:58 +0000 (17:04 -0400)
committerJan Kara <jack@suse.cz>
Fri, 21 May 2010 17:30:43 +0000 (19:30 +0200)
commitb9b2dd36c1bc64430f8e13990ab135cbecc10076
tree051bb6a238c9ff98fe135de3e8591c65cf242d46
parent0636c73ee7b129f77f577aaaefc8dde057be6d18
quota: unify ->get_dqblk

Pass the larger struct fs_disk_quota to the ->get_dqblk operation so
that the Q_GETQUOTA and Q_XGETQUOTA operations can be implemented
with a single filesystem operation and we can retire the ->get_xquota
operation.  The additional information (RT-subvolume accounting and
warn counts) are left zero for the VFS quota implementation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/gfs2/quota.c
fs/quota/dquot.c
fs/quota/quota.c
fs/xfs/linux-2.6/xfs_quotaops.c
include/linux/quota.h
include/linux/quotaops.h