diff --git a/fs/incfs/vfs.c b/fs/incfs/vfs.c index f06e75bc4164..a13330eabe7d 100644 --- a/fs/incfs/vfs.c +++ b/fs/incfs/vfs.c @@ -2177,7 +2177,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);