commit | 36731410834e08c7d15c3980abd6cc4c563c2e87 | [log] [tgz] |
---|---|---|
author | Chandra Seetharaman <sekharan@us.ibm.com> | Mon Jan 23 17:31:30 2012 +0000 |
committer | Ben Myers <bpm@sgi.com> | Fri Feb 03 10:53:39 2012 -0600 |
tree | 22823adcd10572766aa37d98bb7f5c3dcc248189 | |
parent | 6967b964c1012231f338445f20f877e680cd4cb8 [diff] |
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>