diff options
| author | Andreas Gruenbacher <[email protected]> | 2017-10-12 22:39:38 +0000 |
|---|---|---|
| committer | Andreas Gruenbacher <[email protected]> | 2017-10-31 13:26:59 +0000 |
| commit | d0920a9cd7e735c429c510b523a100db82c937a1 (patch) | |
| tree | cbe73885ffc963f5743dd72108640a38b1d282e9 /drivers/scsi/libsas/sas_init.c | |
| parent | gfs2: Add support for statx inode flags (diff) | |
| download | kernel-d0920a9cd7e735c429c510b523a100db82c937a1.tar.gz kernel-d0920a9cd7e735c429c510b523a100db82c937a1.zip | |
gfs2: Allow gfs2_xattr_set to be called with the glock held
On the following call path:
gfs2_setattr -> setattr_prepare -> ... ->
cap_inode_killpriv -> ... ->
gfs2_xattr_set
the glock is locked in gfs2_setattr, so check for recursive locking in
gfs2_xattr_set as gfs2_xattr_get already does. While at it, get rid of
need_unlock in gfs2_xattr_get.
Fixes xfstest generic/093.
Signed-off-by: Andreas Gruenbacher <[email protected]>
Acked-by: Abhijith Das <[email protected]>
Signed-off-by: Bob Peterson <[email protected]>
Diffstat (limited to 'drivers/scsi/libsas/sas_init.c')
0 files changed, 0 insertions, 0 deletions
