From: Peng Tao Date: Tue, 3 Dec 2013 14:11:38 +0000 (+0800) Subject: staging/lustre: fix build error when CONFIG_FS_POSIX_ACL is off X-Git-Tag: v3.14-rc1~150^2~676 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04eb2b7f3ff19685531945a484e78ab7b9376ccc;p=pandora-kernel.git staging/lustre: fix build error when CONFIG_FS_POSIX_ACL is off We need to include regardless of CONFIG_FS_POSIX_ACL is set or not. Otherwise build fails as reported by kbuild robot: >> drivers/staging/lustre/lustre/llite/file.c:2965:2: error: implicit declaration of function 'posix_acl_dup' [-Werror=implicit-function-declaration] acl = posix_acl_dup(lli->lli_posix_acl); Reported-by: Fengguang Wu Cc: Andreas Dilger Signed-off-by: Peng Tao Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed