summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_qm_stats.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-12-06 21:58:22 +0000
committerBen Myers <bpm@sgi.com>2011-12-15 14:37:32 -0600
commit78e55892d65ea69fbf252e086375d0d8f081b6c8 (patch)
tree7f115cdcd97b5dfa6826f8c27427d4061a97591f /fs/xfs/xfs_qm_stats.c
parentab680bb739ca0e969148951c2e127f6683dcb933 (diff)
downloadlinux-78e55892d65ea69fbf252e086375d0d8f081b6c8.tar.bz2
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>
Diffstat (limited to 'fs/xfs/xfs_qm_stats.c')
0 files changed, 0 insertions, 0 deletions