[GFS2] gfs2_set_flags double locking patch
authorAbhijith Das <adas@redhat.com>
Fri, 21 Jul 2006 06:03:21 +0000 (02:03 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 21 Jul 2006 06:03:21 +0000 (02:03 -0400)
commit52f341cf75d2da84811127582616984eb0602360
treefcefaa95a8813102f1f96e47cb772cc233f78be8
parentc5921fd02e6c720938141a45f1f9dbd71b17fff2
[GFS2] gfs2_set_flags double locking patch

traced the "umount hang due to spurious glock" issue that I was having
with gfs2meta. It's in the do_gfs2_set_flags function, which does a
gfs2_holder_init as well as a gfs2_glock_nq_init (increases ref count by
2 instead of 1).

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