]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
Fix ZPL miswrite of default POSIX ACL
authorNed Bass <bass6@llnl.gov>
Wed, 27 Apr 2016 14:00:58 +0000 (15:00 +0100)
committerKamal Mostafa <kamal@canonical.com>
Mon, 16 May 2016 17:25:08 +0000 (10:25 -0700)
commit5fefe77ecadb8acd45ba7a26ceb76887bd8de32f
treef08d8eefa018f31d1f4e9d4290403d30b35ce244
parentff9bfc7d2a984d0f7bbb9bdcc395b496006c237e
Fix ZPL miswrite of default POSIX ACL

BugLink: http://bugs.launchpad.net/bugs/1574801
Commit 4967a3e introduced a typo that caused the ZPL to store the
intended default ACL as an access ACL. Due to caching this problem
may not become visible until the filesystem is remounted or the inode
is evicted from the cache. Fix the typo and add a regression test.

Signed-off-by: Ned Bass <bass6@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
Closes #4520
(backport from 98f03691a4c08f38ca4538c468e9523f8e6b24be https://github.com/zfsonlinux/zfs.git)
(dropped redundant modifications to zfs tests, we don't have these)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
zfs/module/zfs/zpl_xattr.c