GFS2: Do not reset flags on active reservations
authorBob Peterson <rpeterso@redhat.com>
Wed, 11 Sep 2013 18:44:05 +0000 (13:44 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 17 Sep 2013 09:19:29 +0000 (10:19 +0100)
commitb8708905199a85eebbd820f98d18e045c32077bf
tree873caed4e8b0f7dbf8d4640042b3819a6b19dc63
parent7e230f5774336c5c180d8aeab0e2cb1326c73fa3
GFS2: Do not reset flags on active reservations

When we used try locks for rgrps on block allocations, it was important
to clear the flags field so that we used a blocking hold on the glock.
Now that we're not doing try locks, clearing flags is unnecessary, and
a waste of time. In fact, it's probably doing the wrong thing because
it clears the GL_SKIP bit that was set for the lvb tracking purposes.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/rgrp.c