You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
staging/lustre/llite: Fix unused variable warning if !CONFIG_FS_POSIX_ACL
If CONFIG_FS_POSIX_ACL=n: drivers/staging/lustre/lustre/llite/xattr.c: In function 'll_setxattr_common': drivers/staging/lustre/lustre/llite/xattr.c:115:27: warning: unused variable 'rce' [-Wunused-variable] Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b41a1fe067
commit
1d316792ac
@@ -112,8 +112,8 @@ int ll_setxattr_common(struct inode *inode, const char *name,
|
||||
struct ptlrpc_request *req = NULL;
|
||||
int xattr_type, rc;
|
||||
struct obd_capa *oc;
|
||||
struct rmtacl_ctl_entry *rce = NULL;
|
||||
#ifdef CONFIG_FS_POSIX_ACL
|
||||
struct rmtacl_ctl_entry *rce = NULL;
|
||||
posix_acl_xattr_header *new_value = NULL;
|
||||
ext_acl_xattr_header *acl = NULL;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user