summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dquot_item.c
diff options
context:
space:
mode:
authorChristoph Hellwig2011-12-06 22:58:14 +0100
committerBen Myers2011-12-13 00:28:20 +0100
commit800b484ec0262946262ad20561a8081fd31f4a6f (patch)
tree41bc447ef77f21546e03d975017c11cb3d1a1a4d /fs/xfs/xfs_dquot_item.c
parentxfs: remove the sync_mode argument to xfs_qm_dqflush_all (diff)
downloadkernel-qcow2-linux-800b484ec0262946262ad20561a8081fd31f4a6f.tar.gz
kernel-qcow2-linux-800b484ec0262946262ad20561a8081fd31f4a6f.tar.xz
kernel-qcow2-linux-800b484ec0262946262ad20561a8081fd31f4a6f.zip
xfs: cleanup dquot locking helpers
Mark the trivial lock wrappers as inline, and make the naming consistent for all of them. 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_dquot_item.c')
-rw-r--r--fs/xfs/xfs_dquot_item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dquot_item.c b/fs/xfs/xfs_dquot_item.c
index 3956e1bb7c07..34baeae45265 100644
--- a/fs/xfs/xfs_dquot_item.c
+++ b/fs/xfs/xfs_dquot_item.c
@@ -236,7 +236,7 @@ xfs_qm_dquot_logitem_trylock(
if (atomic_read(&dqp->q_pincount) > 0)
return XFS_ITEM_PINNED;
- if (!xfs_qm_dqlock_nowait(dqp))
+ if (!xfs_dqlock_nowait(dqp))
return XFS_ITEM_LOCKED;
if (!xfs_dqflock_nowait(dqp)) {