aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/exofs/inode.c8
-rw-r--r--init/Kconfig1
2 files changed, 4 insertions, 5 deletions
diff --git a/fs/exofs/inode.c b/fs/exofs/inode.c
index 5badb0c039de..190c3d69e569 100644
--- a/fs/exofs/inode.c
+++ b/fs/exofs/inode.c
@@ -1163,8 +1163,8 @@ struct inode *exofs_iget(struct super_block *sb, unsigned long ino)
1163 1163
1164 /* copy stuff from on-disk struct to in-memory struct */ 1164 /* copy stuff from on-disk struct to in-memory struct */
1165 inode->i_mode = le16_to_cpu(fcb.i_mode); 1165 inode->i_mode = le16_to_cpu(fcb.i_mode);
1166 inode->i_uid = le32_to_cpu(fcb.i_uid); 1166 i_uid_write(inode, le32_to_cpu(fcb.i_uid));
1167 inode->i_gid = le32_to_cpu(fcb.i_gid); 1167 i_gid_write(inode, le32_to_cpu(fcb.i_gid));
1168 set_nlink(inode, le16_to_cpu(fcb.i_links_count)); 1168 set_nlink(inode, le16_to_cpu(fcb.i_links_count));
1169 inode->i_ctime.tv_sec = (signed)le32_to_cpu(fcb.i_ctime); 1169 inode->i_ctime.tv_sec = (signed)le32_to_cpu(fcb.i_ctime);
1170 inode->i_atime.tv_sec = (signed)le32_to_cpu(fcb.i_atime); 1170 inode->i_atime.tv_sec = (signed)le32_to_cpu(fcb.i_atime);
@@ -1376,8 +1376,8 @@ static int exofs_update_inode(struct inode *inode, int do_sync)
1376 fcb = &args->fcb; 1376 fcb = &args->fcb;
1377 1377
1378 fcb->i_mode = cpu_to_le16(inode->i_mode); 1378 fcb->i_mode = cpu_to_le16(inode->i_mode);
1379 fcb->i_uid = cpu_to_le32(inode->i_uid); 1379 fcb->i_uid = cpu_to_le32(i_uid_read(inode));
1380 fcb->i_gid = cpu_to_le32(inode->i_gid); 1380 fcb->i_gid = cpu_to_le32(i_gid_read(inode));
1381 fcb->i_links_count = cpu_to_le16(inode->i_nlink); 1381 fcb->i_links_count = cpu_to_le16(inode->i_nlink);
1382 fcb->i_ctime = cpu_to_le32(inode->i_ctime.tv_sec); 1382 fcb->i_ctime = cpu_to_le32(inode->i_ctime.tv_sec);
1383 fcb->i_atime = cpu_to_le32(inode->i_atime.tv_sec); 1383 fcb->i_atime = cpu_to_le32(inode->i_atime.tv_sec);
diff --git a/init/Kconfig b/init/Kconfig
index 51084b02263f..39e55d614f2c 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -941,7 +941,6 @@ config UIDGID_CONVERTED
941 depends on CEPH_FS = n 941 depends on CEPH_FS = n
942 depends on CIFS = n 942 depends on CIFS = n
943 depends on CODA_FS = n 943 depends on CODA_FS = n
944 depends on EXOFS_FS = n
945 depends on FUSE_FS = n 944 depends on FUSE_FS = n
946 depends on GFS2_FS = n 945 depends on GFS2_FS = n
947 depends on HFS_FS = n 946 depends on HFS_FS = n