summaryrefslogtreecommitdiff
path: root/drivers/scsi/mvumi.c
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2013-03-01 11:46:40 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2013-03-01 20:04:39 (GMT)
commit9d8072e7c33991a08b29338f3f04dfef7c24afd5 (patch)
tree3fda1dd5842eafb90405d3566407b0c55816ddec /drivers/scsi/mvumi.c
parentb0af9cd9aab60ceb17d3ebabb9fdf4ff0a99cf50 (diff)
downloadlinux-fsl-qoriq-9d8072e7c33991a08b29338f3f04dfef7c24afd5.tar.xz
autofs - Fix sparse warning: context imbalance in autofs4_d_automount() different lock contexts for basic block
Sparse complains: fs/autofs4/root.c:409:9: sparse: context imbalance in 'autofs4_d_automount' - different lock contexts for basic block This was introduced by commit f55fb0c24386 ("autofs4 - dont clear DCACHE_NEED_AUTOMOUNT on rootless mount") The function autofs4_d_automount can be left with the (&sbi->fs_lock) held if sbi->version <= 4 and simple_empty(dentry) == false so the warning seems valid. --> Add an spin_unlock in this case before we jump to done Unfortunately compile tested only. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Acked-by: Ian Kent <raven@themaw.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/mvumi.c')
0 files changed, 0 insertions, 0 deletions