diff options
Diffstat (limited to 'fs/udf/super.c')
-rw-r--r-- | fs/udf/super.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c index 8d86a8706c0e..e7534fb84c2d 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c | |||
@@ -1974,7 +1974,6 @@ static int udf_fill_super(struct super_block *sb, void *options, int silent) | |||
1974 | sb->s_op = &udf_sb_ops; | 1974 | sb->s_op = &udf_sb_ops; |
1975 | sb->s_export_op = &udf_export_ops; | 1975 | sb->s_export_op = &udf_export_ops; |
1976 | 1976 | ||
1977 | sb->s_dirt = 0; | ||
1978 | sb->s_magic = UDF_SUPER_MAGIC; | 1977 | sb->s_magic = UDF_SUPER_MAGIC; |
1979 | sb->s_time_gran = 1000; | 1978 | sb->s_time_gran = 1000; |
1980 | 1979 | ||
@@ -2096,10 +2095,6 @@ void _udf_err(struct super_block *sb, const char *function, | |||
2096 | struct va_format vaf; | 2095 | struct va_format vaf; |
2097 | va_list args; | 2096 | va_list args; |
2098 | 2097 | ||
2099 | /* mark sb error */ | ||
2100 | if (!(sb->s_flags & MS_RDONLY)) | ||
2101 | sb->s_dirt = 1; | ||
2102 | |||
2103 | va_start(args, fmt); | 2098 | va_start(args, fmt); |
2104 | 2099 | ||
2105 | vaf.fmt = fmt; | 2100 | vaf.fmt = fmt; |
@@ -2161,7 +2156,6 @@ static int udf_sync_fs(struct super_block *sb, int wait) | |||
2161 | * the buffer for IO | 2156 | * the buffer for IO |
2162 | */ | 2157 | */ |
2163 | mark_buffer_dirty(sbi->s_lvid_bh); | 2158 | mark_buffer_dirty(sbi->s_lvid_bh); |
2164 | sb->s_dirt = 0; | ||
2165 | sbi->s_lvid_dirty = 0; | 2159 | sbi->s_lvid_dirty = 0; |
2166 | } | 2160 | } |
2167 | mutex_unlock(&sbi->s_alloc_mutex); | 2161 | mutex_unlock(&sbi->s_alloc_mutex); |