GFS2: Inline qd_trylock into gfs2_quota_unlock
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 4 Oct 2013 10:31:05 +0000 (11:31 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 4 Oct 2013 10:39:21 +0000 (11:39 +0100)
commitaabd7c72f52145fcf13f9251770b0b0246b5e406
tree99268cd27ed66cff7bb1dfcde031afa5b11e1995
parent1bf59bf6ded8411058b4c9acc45d9dd8d6965464
GFS2: Inline qd_trylock into gfs2_quota_unlock

The function qd_trylock was not a trylock despite its name and
can be inlined into gfs2_quota_unlock in order to make the
code a bit clearer. There should be no functional change as a
result of this patch.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Abhijith Das <adas@redhat.com>
fs/gfs2/quota.c