Whamcloud - gitweb
LU-1337 llite: provides ll_get_acl to ->i_op->get_acl
authorLiu Xuezhao <xuezhao.liu@emc.com>
Tue, 30 Oct 2012 08:52:55 +0000 (16:52 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 3 Nov 2012 20:01:40 +0000 (16:01 -0400)
commit867a0e5591ababddff68e451580ab1accee2ea4d
tree4350e5d602c198c83e21c555b1d56b8ad9c7e6b2
parent8f13bc198125c03dcf79625b310a0f3ac76b00b2
LU-1337 llite: provides ll_get_acl to ->i_op->get_acl

Since kernel 3.1 generic_permission() has lost the check_acl
argument, ACL checking has been taken to VFS and filesystems
need to provide a non-NULL ->i_op->get_acl to read an ACL
from disk.

This patch is a complementarity to http://review.whamcloud.com/3397
(d018b087c962b8c66e8dc479fc66e964a2e5fd94), to fix failure of test_25
of sanityn.sh.

Signed-off-by: Liu Xuezhao <xuezhao.liu@emc.com>
Change-Id: Ica96adac03c1792e2e8b668b959457a4ffec9a43
Reviewed-on: http://review.whamcloud.com/3885
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/autoconf/lustre-core.m4
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/namei.c