diff options
Diffstat (limited to 'fs/udf/super.c')
-rw-r--r-- | fs/udf/super.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c index 0368bf60f42b..b9dc6adfdd2d 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c | |||
@@ -284,9 +284,9 @@ static int udf_show_options(struct seq_file *seq, struct vfsmount *mnt) | |||
284 | seq_printf(seq, ",gid=%u", sbi->s_gid); | 284 | seq_printf(seq, ",gid=%u", sbi->s_gid); |
285 | if (sbi->s_umask != 0) | 285 | if (sbi->s_umask != 0) |
286 | seq_printf(seq, ",umask=%o", sbi->s_umask); | 286 | seq_printf(seq, ",umask=%o", sbi->s_umask); |
287 | if (sbi->s_fmode != -1) | 287 | if (sbi->s_fmode != UDF_INVALID_MODE) |
288 | seq_printf(seq, ",mode=%o", sbi->s_fmode); | 288 | seq_printf(seq, ",mode=%o", sbi->s_fmode); |
289 | if (sbi->s_dmode != -1) | 289 | if (sbi->s_dmode != UDF_INVALID_MODE) |
290 | seq_printf(seq, ",dmode=%o", sbi->s_dmode); | 290 | seq_printf(seq, ",dmode=%o", sbi->s_dmode); |
291 | if (UDF_QUERY_FLAG(sb, UDF_FLAG_SESSION_SET)) | 291 | if (UDF_QUERY_FLAG(sb, UDF_FLAG_SESSION_SET)) |
292 | seq_printf(seq, ",session=%u", sbi->s_session); | 292 | seq_printf(seq, ",session=%u", sbi->s_session); |
@@ -1892,8 +1892,8 @@ static int udf_fill_super(struct super_block *sb, void *options, int silent) | |||
1892 | uopt.uid = -1; | 1892 | uopt.uid = -1; |
1893 | uopt.gid = -1; | 1893 | uopt.gid = -1; |
1894 | uopt.umask = 0; | 1894 | uopt.umask = 0; |
1895 | uopt.fmode = -1; | 1895 | uopt.fmode = UDF_INVALID_MODE; |
1896 | uopt.dmode = -1; | 1896 | uopt.dmode = UDF_INVALID_MODE; |
1897 | 1897 | ||
1898 | sbi = kzalloc(sizeof(struct udf_sb_info), GFP_KERNEL); | 1898 | sbi = kzalloc(sizeof(struct udf_sb_info), GFP_KERNEL); |
1899 | if (!sbi) | 1899 | if (!sbi) |