Brian Behlendorf 3b0ba3ba99 Linux 4.9 compat: inode_change_ok() renamed setattr_prepare()
In torvalds/linux@31051c8 the inode_change_ok() function was
renamed setattr_prepare() and updated to take a dentry ratheri
than an inode.  Update the code to call the setattr_prepare()
and add a wrapper function which call inode_change_ok() for
older kernels.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Requires-spl: refs/pull/581/head
2016-10-20 09:39:09 -07:00
..
2010-08-31 13:41:27 -07:00
2011-04-19 10:10:47 -07:00
2012-10-14 13:06:48 -07:00
2015-12-07 12:20:43 -08:00
2013-03-18 15:33:17 -07:00
2016-03-16 13:46:16 -07:00
2016-03-09 10:39:22 -08:00
2016-04-28 09:27:40 -07:00
2016-03-18 13:31:11 -07:00
2016-03-18 13:31:11 -07:00