aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/bmap.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2007-12-11 19:13:54 -0600
committerSteven Whitehouse <swhiteho@redhat.com>2008-01-25 08:13:52 +0000
commit398bbe68321947f6763fbc259a01eb548ce19408 (patch)
tree64cf07eb0f461aa5d26c2abdc873c8727d8a2bad /fs/gfs2/bmap.c
parent5fdc2eeb5d1d3800367f471690b01fcd1fd5b963 (diff)
downloadkernel_samsung_smdk4412-398bbe68321947f6763fbc259a01eb548ce19408.zip
kernel_samsung_smdk4412-398bbe68321947f6763fbc259a01eb548ce19408.tar.gz
kernel_samsung_smdk4412-398bbe68321947f6763fbc259a01eb548ce19408.tar.bz2
[GFS2] Reorganize function gfs2_glmutex_lock
This patch optimizes the function gfs2_glmutex_lock. The basic theory is: Why bother initializing a holder, setting up wait bits and then waiting on them, if you know the glock can be yours. So the holder stuff is placed inside the if checking if the glock is locked. This one needs careful scrutiny because changing anything to do with locking should strike terror into one's heart. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/bmap.c')
0 files changed, 0 insertions, 0 deletions