Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

userns: Convert cramfs to use kuid/kgid where appropriate

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>

+2 -3
+2 -2
fs/cramfs/inode.c
··· 90 90 } 91 91 92 92 inode->i_mode = cramfs_inode->mode; 93 - inode->i_uid = cramfs_inode->uid; 94 - inode->i_gid = cramfs_inode->gid; 93 + i_uid_write(inode, cramfs_inode->uid); 94 + i_gid_write(inode, cramfs_inode->gid); 95 95 96 96 /* if the lower 2 bits are zero, the inode contains data */ 97 97 if (!(inode->i_ino & 3)) {
-1
init/Kconfig
··· 941 941 depends on CEPH_FS = n 942 942 depends on CIFS = n 943 943 depends on CODA_FS = n 944 - depends on CRAMFS = n 945 944 depends on ECRYPT_FS = n 946 945 depends on EFS_FS = n 947 946 depends on EXOFS_FS = n