diff options
author | Bob Peterson <rpeterso@redhat.com> | 2017-05-05 09:43:02 -0500 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2017-05-05 14:19:28 -0500 |
commit | ed17545d01e4a40086f1622c88ce64cc0241cfc2 (patch) | |
tree | e3617232b60c723a084e087cb9d431a7247f48be /fs/devpts | |
parent | d552a2b9b33eafdb5eb16c643e745deb564dda7f (diff) | |
download | linux-ed17545d01e4a40086f1622c88ce64cc0241cfc2.tar.gz linux-ed17545d01e4a40086f1622c88ce64cc0241cfc2.tar.bz2 linux-ed17545d01e4a40086f1622c88ce64cc0241cfc2.zip |
GFS2: Allow glocks to be unlocked after withdraw
This bug fixes a regression introduced by patch 0d1c7ae9d8.
The intent of the patch was to stop promoting glocks after a
file system is withdrawn due to a variety of errors, because doing
so results in a BUG(). (You should be able to unmount after a
withdraw rather than having the kernel panic.)
Unfortunately, it also stopped demotions, so glocks could not be
unlocked after withdraw, which means the unmount would hang.
This patch allows function do_xmote to demote locks to an
unlocked state after a withdraw, but not promote them.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/devpts')
0 files changed, 0 insertions, 0 deletions