X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fjfs%2Fjfs_mount.c;h=aa871829b761fbaadcbf2756b204e67d8a5eab8e;hb=9e1bf581d67d87a1d7fc0ea500729e3a03643a26;hp=c535ffd638e8773ed08782751881a3c520c0c7ec;hpb=8d40237c730b8be87c1b80a5d96b9c603fefa829;p=linux-2.6.git diff --git a/fs/jfs/jfs_mount.c b/fs/jfs/jfs_mount.c index c535ffd63..aa871829b 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) || - le32_to_cpu(j_sb->s_version) > JFS_VERSION) { + j_sb->s_version > cpu_to_le32(JFS_VERSION)) { rc = -EINVAL; goto out; }