diff options
author | Bob Peterson <rpeterso@redhat.com> | 2011-11-14 10:45:40 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2011-11-15 15:24:22 +0000 |
commit | c688b8b334d20acbc79b0383af2816ecf7365741 (patch) | |
tree | 88d6db882149dcb05af56d8739af928360739bac /fs/gfs2/inode.c | |
parent | 79c4c379c8f16a12c28ea2084db5138e33d17ebd (diff) | |
download | op-kernel-dev-c688b8b334d20acbc79b0383af2816ecf7365741.zip op-kernel-dev-c688b8b334d20acbc79b0383af2816ecf7365741.tar.gz |
GFS2: Add non-try locks back to get_local_rgrp
This upstream patch had what I believe is an unintended consequence:
http://git.kernel.org/?p=linux/kernel/git/steve/gfs2-3.0-nmw.git;a=commitdiff;h=beca42486749c1538a5ed58fe9dcc9f26d428c93
The patch changed function get_local_rgrp such that it ONLY
used TRY locks for RGRP searches. Prior to that patch, the code
used TRY locks during the first loop, and if that was unsuccessful,
it used normal blocking locks on subsequent searches. This patch
changes it back to the old way.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/inode.c')
0 files changed, 0 insertions, 0 deletions