WSL2-Linux-Kernel/fs/f2fs
Eric W. Biederman 48c6d1217e f2fs: Don't assign e_id in f2fs_acl_from_disk
With user namespaces enabled building f2fs fails with:

 CC      fs/f2fs/acl.o
fs/f2fs/acl.c: In function ‘f2fs_acl_from_disk’:
fs/f2fs/acl.c:85:21: error: ‘struct posix_acl_entry’ has no member named ‘e_id’
make[2]: *** [fs/f2fs/acl.o] Error 1
make[2]: Target `__build' not remade because of errors.

e_id is a backwards compatibility field only used for file systems
that haven't been converted to use kuids and kgids.  When the posix
acl tag field is neither ACL_USER nor ACL_GROUP assigning e_id is
unnecessary.  Remove the assignment so f2fs will build with user
namespaces enabled.

Cc: Namjae Jeon <namjae.jeon@samsung.com>
Cc: Amit Sahrawat <a.sahrawat@samsung.com>
Acked-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2012-12-25 20:05:15 -08:00
..
Kconfig f2fs: resolve build failures 2012-12-11 13:43:43 +09:00
Makefile f2fs: update Kconfig and Makefile 2012-12-11 13:43:42 +09:00
acl.c f2fs: Don't assign e_id in f2fs_acl_from_disk 2012-12-25 20:05:15 -08:00
acl.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
checkpoint.c f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
data.c f2fs: cleanup the f2fs_bio_alloc routine 2012-12-11 13:43:45 +09:00
debug.c f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
dir.c f2fs: fix tracking parent inode number 2012-12-11 13:43:45 +09:00
f2fs.h f2fs: fix tracking parent inode number 2012-12-11 13:43:45 +09:00
file.c f2fs: remove unused variable 2012-12-11 13:43:44 +09:00
gc.c f2fs: remove unneeded initialization 2012-12-11 13:43:44 +09:00
gc.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
hash.c f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
inode.c f2fs: fix tracking parent inode number 2012-12-11 13:43:45 +09:00
namei.c f2fs: make use of GFP_F2FS_ZERO for setting gfp_mask 2012-12-11 13:43:44 +09:00
node.c f2fs: fix the compiler warning for uninitialized use of variable 2012-12-11 13:43:43 +09:00
node.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
recovery.c f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
segment.c f2fs: cleanup the f2fs_bio_alloc routine 2012-12-11 13:43:45 +09:00
segment.h f2fs: cleanup the f2fs_bio_alloc routine 2012-12-11 13:43:45 +09:00
super.c f2fs: remove unneeded memset from init_once 2012-12-11 13:43:43 +09:00
xattr.c f2fs: resolve build failures 2012-12-11 13:43:43 +09:00
xattr.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00