zfs/config
Chunwei Chen fdbc1ba99d Linux 4.7 compat: inode_lock() and friends
Linux 4.7 changes i_mutex to i_rwsem, and we should used inode_lock and
inode_lock_shared to do exclusive and shared lock respectively.

We use spl_inode_lock{,_shared}() to hide the difference. Note that on older
kernel you'll always take an exclusive lock.

We also add all other inode_lock friends. And nested users now should
explicitly call spl_inode_lock_nested with correct subclass.

Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue zfsonlinux/zfs#4665
Closes #549
2016-05-20 11:00:14 -07:00
..
.gitignore Add config/compile to config/.gitignore 2014-10-31 16:26:44 -07:00
Rules.am build: use CPPFLAGS 2013-04-02 11:07:11 -07:00
config.awk Allow spl_config.h to be included by dependant packages (updated) 2010-03-22 14:45:33 -07:00
deb.am Add --bump=0 to alien 2013-04-24 16:18:11 -07:00
rpm.am Support parallel build trees (VPATH builds) 2015-07-17 12:53:11 -07:00
spl-build.m4 Linux 4.7 compat: inode_lock() and friends 2016-05-20 11:00:14 -07:00
spl-meta.m4 Make license compatibility checks consistent 2014-10-17 15:07:28 -07:00
tgz.am Refresh RPM packaging 2013-03-18 15:31:54 -07:00