/home/himanshu/clang-thread-safety-analysis/fs/dcache.c:2391:2: warning: mutex 'inode->i_lock' is not held on every path through here [-Wthread-safety-analysis]
fsnotify_nameremove(dentry, isdir);
^
/home/himanshu/clang-thread-safety-analysis/fs/dcache.c:2378:2: note: mutex acquired here
spin_lock(&inode->i_lock);
^
Similar to: https://github.com/ClangBuiltLinux/thread-safety-analysis/issues/28#issuecomment-496215839 Conditional unlocking.