aboutsummaryrefslogtreecommitdiffstats
path: root/fs/udf/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/udf/super.c')
-rw-r--r--fs/udf/super.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c
index 0c33225647a0..c09a84daaf50 100644
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -1798,6 +1798,12 @@ static void udf_close_lvid(struct super_block *sb)
1798 le16_to_cpu(lvid->descTag.descCRCLength))); 1798 le16_to_cpu(lvid->descTag.descCRCLength)));
1799 1799
1800 lvid->descTag.tagChecksum = udf_tag_checksum(&lvid->descTag); 1800 lvid->descTag.tagChecksum = udf_tag_checksum(&lvid->descTag);
1801 /*
1802 * We set buffer uptodate unconditionally here to avoid spurious
1803 * warnings from mark_buffer_dirty() when previous EIO has marked
1804 * the buffer as !uptodate
1805 */
1806 set_buffer_uptodate(bh);
1801 mark_buffer_dirty(bh); 1807 mark_buffer_dirty(bh);
1802 sbi->s_lvid_dirty = 0; 1808 sbi->s_lvid_dirty = 0;
1803 mutex_unlock(&sbi->s_alloc_mutex); 1809 mutex_unlock(&sbi->s_alloc_mutex);