mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
ANDROID: Incremental fs: magic number compatible 32-bit
Incfs's magic is bigger than 32-bit, but super block structure's s_magic is unsigned long which is 32-bit in ARM 32-bit platform. Do the cast for magic! Bug: 159772865 Signed-off-by: Peng Zhou <Peng.Zhou@mediatek.com> Signed-off-by: mtk81325 <peng.zhou@mediatek.com> Signed-off-by: Paul Lawrence <paullawrence@google.com> Change-Id: Iae4f38774440c7d6ae44529d4f0f8ebb2ec5dacc
This commit is contained in:
parent
5a364f0a57
commit
839511af20
|
|
@ -2181,7 +2181,7 @@ struct dentry *incfs_mount_fs(struct file_system_type *type, int flags,
|
|||
sb->s_op = &incfs_super_ops;
|
||||
sb->s_d_op = &incfs_dentry_ops;
|
||||
sb->s_flags |= S_NOATIME;
|
||||
sb->s_magic = INCFS_MAGIC_NUMBER;
|
||||
sb->s_magic = (long)INCFS_MAGIC_NUMBER;
|
||||
sb->s_time_gran = 1;
|
||||
sb->s_blocksize = INCFS_DATA_FILE_BLOCK_SIZE;
|
||||
sb->s_blocksize_bits = blksize_bits(sb->s_blocksize);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user