zfs/include/linux
Olaf Faaland 628fc52137 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 <faaland1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #480
2015-12-11 16:19:47 -08:00
..
Makefile.am Retire spl_module_init()/spl_module_fini() 2015-02-27 13:43:39 -08:00
bitops_compat.h Map highbit64() to fls64() 2014-10-17 15:11:50 -07:00
compiler_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
delay_compat.h Emulate illumos interface cv_timedwait_hires() 2013-11-04 09:49:24 -08:00
file_compat.h Fix lockdep warning in spl_inode_{lock,unlock} 2015-12-11 16:19:47 -08:00
list_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
math64_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
mm_compat.h Linux 3.12 compat: shrinker semantics 2014-10-28 09:20:13 -07:00
proc_compat.h Refactor existing code 2015-01-16 13:55:08 -08:00
rwsem_compat.h Retire rwsem_is_locked() compat 2015-06-10 16:35:48 -07:00
wait_compat.h Remove compat includes from sys/types.h 2014-11-19 10:35:12 -08:00
zlib_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00