patch-2.3.39 linux/fs/efs/inode.c
Next file: linux/fs/ext2/fsync.c
Previous file: linux/fs/block_dev.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon Jan 10 18:15:58 2000
- Orig file:
v2.3.38/linux/fs/efs/inode.c
- Orig date:
Tue Jan 4 13:57:17 2000
diff -u --recursive --new-file v2.3.38/linux/fs/efs/inode.c linux/fs/efs/inode.c
@@ -70,8 +70,8 @@
inode->i_mode = be16_to_cpu(efs_inode->di_mode);
inode->i_nlink = be16_to_cpu(efs_inode->di_nlink);
- inode->i_uid = be16_to_cpu(efs_inode->di_uid);
- inode->i_gid = be16_to_cpu(efs_inode->di_gid);
+ inode->i_uid = (uid_t)be16_to_cpu(efs_inode->di_uid);
+ inode->i_gid = (gid_t)be16_to_cpu(efs_inode->di_gid);
inode->i_size = be32_to_cpu(efs_inode->di_size);
inode->i_atime = be32_to_cpu(efs_inode->di_atime);
inode->i_mtime = be32_to_cpu(efs_inode->di_mtime);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)