]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/ubifs/sb.c
Merge tag 'arm-soc/for-5.5/devicetree-part2' of https://github.com/Broadcom/stblinux...
[linux.git] / fs / ubifs / sb.c
index a551eb3e9b892b982d5dc787e716d312a89df610..2b7c04bf8983e3fb9dca811058fc583ad3bd7b25 100644 (file)
@@ -184,7 +184,7 @@ static int create_default_filesystem(struct ubifs_info *c)
                if (err)
                        goto out;
        } else {
-               sup->hash_algo = 0xffff;
+               sup->hash_algo = cpu_to_le16(0xffff);
        }
 
        sup->ch.node_type  = UBIFS_SB_NODE;