diff options
-rw-r--r-- | fs/ufs/super.c | 2 | ||||
-rw-r--r-- | fs/ufs/ufs_fs.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/fs/ufs/super.c b/fs/ufs/super.c index 14743d935a93..ad9bc1ebd3a6 100644 --- a/fs/ufs/super.c +++ b/fs/ufs/super.c | |||
@@ -918,6 +918,7 @@ again: | |||
918 | sbi->s_bytesex = BYTESEX_LE; | 918 | sbi->s_bytesex = BYTESEX_LE; |
919 | switch ((uspi->fs_magic = fs32_to_cpu(sb, usb3->fs_magic))) { | 919 | switch ((uspi->fs_magic = fs32_to_cpu(sb, usb3->fs_magic))) { |
920 | case UFS_MAGIC: | 920 | case UFS_MAGIC: |
921 | case UFS_MAGIC_BW: | ||
921 | case UFS2_MAGIC: | 922 | case UFS2_MAGIC: |
922 | case UFS_MAGIC_LFN: | 923 | case UFS_MAGIC_LFN: |
923 | case UFS_MAGIC_FEA: | 924 | case UFS_MAGIC_FEA: |
@@ -927,6 +928,7 @@ again: | |||
927 | sbi->s_bytesex = BYTESEX_BE; | 928 | sbi->s_bytesex = BYTESEX_BE; |
928 | switch ((uspi->fs_magic = fs32_to_cpu(sb, usb3->fs_magic))) { | 929 | switch ((uspi->fs_magic = fs32_to_cpu(sb, usb3->fs_magic))) { |
929 | case UFS_MAGIC: | 930 | case UFS_MAGIC: |
931 | case UFS_MAGIC_BW: | ||
930 | case UFS2_MAGIC: | 932 | case UFS2_MAGIC: |
931 | case UFS_MAGIC_LFN: | 933 | case UFS_MAGIC_LFN: |
932 | case UFS_MAGIC_FEA: | 934 | case UFS_MAGIC_FEA: |
diff --git a/fs/ufs/ufs_fs.h b/fs/ufs/ufs_fs.h index 6943ec677c0b..8aba544f9fad 100644 --- a/fs/ufs/ufs_fs.h +++ b/fs/ufs/ufs_fs.h | |||
@@ -48,6 +48,7 @@ typedef __u16 __bitwise __fs16; | |||
48 | #define UFS_SECTOR_SIZE 512 | 48 | #define UFS_SECTOR_SIZE 512 |
49 | #define UFS_SECTOR_BITS 9 | 49 | #define UFS_SECTOR_BITS 9 |
50 | #define UFS_MAGIC 0x00011954 | 50 | #define UFS_MAGIC 0x00011954 |
51 | #define UFS_MAGIC_BW 0x0f242697 | ||
51 | #define UFS2_MAGIC 0x19540119 | 52 | #define UFS2_MAGIC 0x19540119 |
52 | #define UFS_CIGAM 0x54190100 /* byteswapped MAGIC */ | 53 | #define UFS_CIGAM 0x54190100 /* byteswapped MAGIC */ |
53 | 54 | ||