]> git.baikalelectronics.ru Git - kernel.git/commit
Define a new function xfs_inode_dquot()
authorChandra Seetharaman <sekharan@us.ibm.com>
Mon, 23 Jan 2012 17:31:30 +0000 (17:31 +0000)
committerBen Myers <bpm@sgi.com>
Fri, 3 Feb 2012 16:53:39 +0000 (10:53 -0600)
commit42d99af961ec71542966e7ff86a4829a3c45449c
tree22823adcd10572766aa37d98bb7f5c3dcc248189
parent60dd051637be87f48ee93b4f17872a4749998f2c
Define a new function xfs_inode_dquot()

Define a new function xfs_inode_dquot() that takes a inode pointer
and a disk quota type and returns the quota pointer for the specified
quota type.

This simplifies the xfs_qm_dqget() error path significantly.

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_dquot.c
fs/xfs/xfs_dquot.h