summaryrefslogtreecommitdiffstats
path: root/module/zfs/zpl_ctldir.c
diff options
context:
space:
mode:
authortuxoko <[email protected]>2016-09-22 19:09:16 -0700
committerBrian Behlendorf <[email protected]>2017-02-03 10:23:53 -0800
commitc0716f13efc4a9ab2123683870bfe3178747b8aa (patch)
tree37b2812f1445bf9cd57ad9a8568e29c6aa81f575 /module/zfs/zpl_ctldir.c
parentdbc95a682c9fc7aa29f33086d62125e177fa6043 (diff)
Linux 4.7 compat: Fix deadlock during lookup on case-insensitive
We must not use d_add_ci if the dentry already has the real name. Otherwise, d_add_ci()->d_alloc_parallel() will find itself on the lookup hash and wait on itself causing deadlock. Tested-by: satmandu Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Chunwei Chen <[email protected]> Closes #5124 Closes #5141 Closes #5147 Closes #5148
Diffstat (limited to 'module/zfs/zpl_ctldir.c')
0 files changed, 0 insertions, 0 deletions