X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fjfs%2Fjfs_mount.c;h=c535ffd638e8773ed08782751881a3c520c0c7ec;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=aa871829b761fbaadcbf2756b204e67d8a5eab8e;hpb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;p=linux-2.6.git diff --git a/fs/jfs/jfs_mount.c b/fs/jfs/jfs_mount.c index aa871829b..c535ffd63 100644 --- a/fs/jfs/jfs_mount.c +++ b/fs/jfs/jfs_mount.c @@ -324,7 +324,7 @@ static int chkSuper(struct super_block *sb) */ /* validate fs signature */ if (strncmp(j_sb->s_magic, JFS_MAGIC, 4) || - j_sb->s_version > cpu_to_le32(JFS_VERSION)) { + le32_to_cpu(j_sb->s_version) > JFS_VERSION) { rc = -EINVAL; goto out; }