diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-12-06 21:58:14 +0000 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2011-12-12 17:28:20 -0600 |
commit | 800b484ec0262946262ad20561a8081fd31f4a6f (patch) | |
tree | 41bc447ef77f21546e03d975017c11cb3d1a1a4d /fs/xfs/xfs_dquot_item.c | |
parent | a7ef9bd79f488c643edfda7dedcbdb0a1b8e7552 (diff) | |
download | linux-800b484ec0262946262ad20561a8081fd31f4a6f.tar.bz2 |
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.c | 2 |
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)) { |