]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/exofs/super.c
exofs: fix endian conversion in exofs_sync_fs()
[karo-tx-linux.git] / fs / exofs / super.c
index d22cd168c6ee9738ed554474e7a9995e94df8059..4710b5f686d9465408f44cbd43c756efb5bd5c17 100644 (file)
@@ -389,7 +389,7 @@ static int exofs_sync_fs(struct super_block *sb, int wait)
        ios->length = offsetof(struct exofs_fscb, s_dev_table_oid);
        memset(fscb, 0, ios->length);
        fscb->s_nextid = cpu_to_le64(sbi->s_nextid);
-       fscb->s_numfiles = cpu_to_le32(sbi->s_numfiles);
+       fscb->s_numfiles = cpu_to_le64(sbi->s_numfiles);
        fscb->s_magic = cpu_to_le16(sb->s_magic);
        fscb->s_newfs = 0;
        fscb->s_version = EXOFS_FSCB_VER;