diff options
author | Olaf Faaland <[email protected]> | 2015-10-13 23:08:44 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-12-11 16:19:47 -0800 |
commit | 628fc52137fc14377eba46c66b57d8d094e88507 (patch) | |
tree | 156691c566e549511a4c3ce747b069bb0cc819c9 /module | |
parent | 692ae8d3981e4ef20c0cd0cc229ec31753d220a6 (diff) |
Fix lockdep warning in spl_inode_{lock,unlock}
spl_inode_{lock,unlock} are triggering possible recursive locking
warnings from lockdep. The warning is a false positive.
The lock is used to protect a parent directory during delete/add
operations, used in zfs when writing/removing the cache file. The inode
lock is taken on both the parent inode and the file inode.
VFS provides an enum to subclass the lock. This patch changes the
spin_lock call to _nested version and uses the provided enum.
Signed-off-by: Olaf Faaland <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #480
Diffstat (limited to 'module')
0 files changed, 0 insertions, 0 deletions