|
@@ -257,10 +257,10 @@ static int cramfs_fill_super(struct super_block *sb, void *data, int silent)
|
|
|
|
|
|
/* Do sanity checks on the superblock */
|
|
/* Do sanity checks on the superblock */
|
|
if (super.magic != CRAMFS_MAGIC) {
|
|
if (super.magic != CRAMFS_MAGIC) {
|
|
- /* check for wrong endianess */
|
|
|
|
|
|
+ /* check for wrong endianness */
|
|
if (super.magic == CRAMFS_MAGIC_WEND) {
|
|
if (super.magic == CRAMFS_MAGIC_WEND) {
|
|
if (!silent)
|
|
if (!silent)
|
|
- printk(KERN_ERR "cramfs: wrong endianess\n");
|
|
|
|
|
|
+ printk(KERN_ERR "cramfs: wrong endianness\n");
|
|
goto out;
|
|
goto out;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -270,7 +270,7 @@ static int cramfs_fill_super(struct super_block *sb, void *data, int silent)
|
|
mutex_unlock(&read_mutex);
|
|
mutex_unlock(&read_mutex);
|
|
if (super.magic != CRAMFS_MAGIC) {
|
|
if (super.magic != CRAMFS_MAGIC) {
|
|
if (super.magic == CRAMFS_MAGIC_WEND && !silent)
|
|
if (super.magic == CRAMFS_MAGIC_WEND && !silent)
|
|
- printk(KERN_ERR "cramfs: wrong endianess\n");
|
|
|
|
|
|
+ printk(KERN_ERR "cramfs: wrong endianness\n");
|
|
else if (!silent)
|
|
else if (!silent)
|
|
printk(KERN_ERR "cramfs: wrong magic\n");
|
|
printk(KERN_ERR "cramfs: wrong magic\n");
|
|
goto out;
|
|
goto out;
|