Files
mirror_zfs/module/zfs
Chunwei Chen afb6c031e8 Linux 4.7 compat: fix zpl_get_acl returns invalid acl pointer
Starting from Linux 4.7, get_acl will set acl cache pointer to temporary
sentinel value before calling i_op->get_acl. Therefore we can't compare
against ACL_NOT_CACHED and return.

Since from Linux 3.14, get_acl already check the cache for us, so we
disable this in zpl_get_acl.

Linux 4.7 also does set_cached_acl for us so we disable it in zpl_get_acl.

Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4944
Closes #4946
2016-08-09 10:03:04 -07:00
..
2014-08-01 14:28:05 -07:00
2015-01-16 14:41:26 -08:00
2016-01-08 15:08:19 -08:00
2016-01-08 20:23:23 -05:00
2015-01-16 14:41:26 -08:00
2016-01-08 15:08:19 -08:00
2016-06-28 13:47:02 -07:00
2016-06-24 13:13:21 -07:00
2016-06-24 13:13:21 -07:00
2016-06-28 13:47:02 -07:00
2013-12-18 16:46:35 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2016-08-02 13:14:18 -07:00
2015-12-22 10:21:33 -08:00
2016-04-21 09:49:25 -07:00
2016-06-21 09:58:37 -07:00
2015-01-16 14:41:26 -08:00
2016-06-24 13:13:21 -07:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:58 -07:00
2016-05-02 14:27:45 -07:00
2016-06-24 13:13:21 -07:00
2016-07-25 14:24:47 -07:00
2016-01-08 15:08:19 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2016-07-19 16:43:07 -07:00
2013-10-31 14:58:04 -07:00
2016-08-02 08:45:24 -07:00
2016-06-24 13:13:21 -07:00
2016-06-24 13:13:21 -07:00
2010-08-31 13:41:58 -07:00
2016-07-25 13:21:49 -07:00
2015-09-04 16:08:14 -07:00
2016-07-25 13:21:49 -07:00
2016-07-25 13:21:49 -07:00
2016-07-25 13:21:49 -07:00
2016-05-17 10:29:02 -07:00
2016-07-25 13:21:49 -07:00
2016-07-29 15:34:12 -07:00
2014-08-01 14:28:05 -07:00
2016-07-27 13:38:46 -07:00
2016-05-31 16:04:26 -07:00