commit | 78e55892d65ea69fbf252e086375d0d8f081b6c8 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Tue Dec 06 21:58:22 2011 +0000 |
committer | Ben Myers <bpm@sgi.com> | Thu Dec 15 14:37:32 2011 -0600 |
tree | 7f115cdcd97b5dfa6826f8c27427d4061a97591f | |
parent | ab680bb739ca0e969148951c2e127f6683dcb933 [diff] |
xfs: add a xfs_dqhold helper Factor the common pattern of: xfs_dqlock(dqp); XFS_DQHOLD(dqp); xfs_dqunlock(dqp); into a new helper, and remove XFS_DQHOLD now that only one other caller is left. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>