alistair23-linux/fs/gfs2
Bob Peterson ed17545d01 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>
2017-05-05 14:19:28 -05:00
..
acl.c
acl.h
aops.c We've got eight GFS2 patches for this merge window: 2017-02-21 07:46:34 -08:00
bmap.c GFS2: Non-recursive delete 2017-04-19 08:25:43 -04:00
bmap.h
dentry.c
dir.c
dir.h
export.c
file.c gfs2: Re-enable fallocate for the rindex 2017-04-05 11:45:26 -04:00
gfs2.h
glock.c GFS2: Allow glocks to be unlocked after withdraw 2017-05-05 14:19:28 -05:00
glock.h
glops.c
glops.h
incore.h gfs2: Don't pack struct lm_lockname 2017-03-16 09:58:49 -04:00
inode.c Revert "GFS2: Wait for iopen glock dequeues" 2017-04-03 09:14:47 -04:00
inode.h
Kconfig
lock_dlm.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
log.c We've got eight GFS2 patches for this merge window: 2017-02-21 07:46:34 -08:00
log.h
lops.c
lops.h
main.c
Makefile
meta_io.c We've got eight GFS2 patches for this merge window: 2017-02-21 07:46:34 -08:00
meta_io.h
ops_fstype.c for-4.11/linus-merge-signed 2017-02-21 10:57:33 -08:00
quota.c
quota.h
recovery.c
recovery.h
rgrp.c GFS2: Non-recursive delete 2017-04-19 08:25:43 -04:00
rgrp.h GFS2: Non-recursive delete 2017-04-19 08:25:43 -04:00
super.c Revert "GFS2: Wait for iopen glock dequeues" 2017-04-03 09:14:47 -04:00
super.h
sys.c sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h> 2017-03-02 08:42:31 +01:00
sys.h
trace_gfs2.h
trans.c GFS2: Reduce contention on gfs2_log_lock 2017-01-30 12:10:25 -05:00
trans.h
util.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
util.h
xattr.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
xattr.h