diff options
Diffstat (limited to 'fs/udf/super.c')
-rw-r--r-- | fs/udf/super.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c index 12fb91d23a83..b10295865e5a 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c | |||
@@ -1014,20 +1014,20 @@ static int udf_load_partdesc(struct super_block *sb, struct buffer_head *bh) | |||
1014 | le32_to_cpu(p->partitionLength); /* blocks */ | 1014 | le32_to_cpu(p->partitionLength); /* blocks */ |
1015 | map->s_partition_root = | 1015 | map->s_partition_root = |
1016 | le32_to_cpu(p->partitionStartingLocation); | 1016 | le32_to_cpu(p->partitionStartingLocation); |
1017 | if (le32_to_cpu(p->accessType) == | 1017 | if (p->accessType == |
1018 | PD_ACCESS_TYPE_READ_ONLY) | 1018 | cpu_to_le32(PD_ACCESS_TYPE_READ_ONLY)) |
1019 | map->s_partition_flags |= | 1019 | map->s_partition_flags |= |
1020 | UDF_PART_FLAG_READ_ONLY; | 1020 | UDF_PART_FLAG_READ_ONLY; |
1021 | if (le32_to_cpu(p->accessType) == | 1021 | if (p->accessType == |
1022 | PD_ACCESS_TYPE_WRITE_ONCE) | 1022 | cpu_to_le32(PD_ACCESS_TYPE_WRITE_ONCE)) |
1023 | map->s_partition_flags |= | 1023 | map->s_partition_flags |= |
1024 | UDF_PART_FLAG_WRITE_ONCE; | 1024 | UDF_PART_FLAG_WRITE_ONCE; |
1025 | if (le32_to_cpu(p->accessType) == | 1025 | if (p->accessType == |
1026 | PD_ACCESS_TYPE_REWRITABLE) | 1026 | cpu_to_le32(PD_ACCESS_TYPE_REWRITABLE)) |
1027 | map->s_partition_flags |= | 1027 | map->s_partition_flags |= |
1028 | UDF_PART_FLAG_REWRITABLE; | 1028 | UDF_PART_FLAG_REWRITABLE; |
1029 | if (le32_to_cpu(p->accessType) == | 1029 | if (p->accessType == |
1030 | PD_ACCESS_TYPE_OVERWRITABLE) | 1030 | cpu_to_le32(PD_ACCESS_TYPE_OVERWRITABLE)) |
1031 | map->s_partition_flags |= | 1031 | map->s_partition_flags |= |
1032 | UDF_PART_FLAG_OVERWRITABLE; | 1032 | UDF_PART_FLAG_OVERWRITABLE; |
1033 | 1033 | ||