diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-12-06 16:58:14 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2011-12-12 18:28:20 -0500 |
commit | 800b484ec0262946262ad20561a8081fd31f4a6f (patch) | |
tree | 41bc447ef77f21546e03d975017c11cb3d1a1a4d /fs/xfs/xfs_dquot_item.c | |
parent | a7ef9bd79f488c643edfda7dedcbdb0a1b8e7552 (diff) |
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( | |||
236 | if (atomic_read(&dqp->q_pincount) > 0) | 236 | if (atomic_read(&dqp->q_pincount) > 0) |
237 | return XFS_ITEM_PINNED; | 237 | return XFS_ITEM_PINNED; |
238 | 238 | ||
239 | if (!xfs_qm_dqlock_nowait(dqp)) | 239 | if (!xfs_dqlock_nowait(dqp)) |
240 | return XFS_ITEM_LOCKED; | 240 | return XFS_ITEM_LOCKED; |
241 | 241 | ||
242 | if (!xfs_dqflock_nowait(dqp)) { | 242 | if (!xfs_dqflock_nowait(dqp)) { |