diff --git a/[refs] b/[refs] index 771c45358946..ad2bf98bc303 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c04e88e271ab67de1409c3b4a4e80dbe13eac7b0 +refs/heads/master: 9734c971aa6be6db61226b0046e080ca10383748 diff --git a/trunk/fs/udf/super.c b/trunk/fs/udf/super.c index e9be396a558d..186adbf94b20 100644 --- a/trunk/fs/udf/super.c +++ b/trunk/fs/udf/super.c @@ -1866,6 +1866,8 @@ static void udf_open_lvid(struct super_block *sb) mark_buffer_dirty(bh); sbi->s_lvid_dirty = 0; mutex_unlock(&sbi->s_alloc_mutex); + /* Make opening of filesystem visible on the media immediately */ + sync_dirty_buffer(bh); } static void udf_close_lvid(struct super_block *sb) @@ -1906,6 +1908,8 @@ static void udf_close_lvid(struct super_block *sb) mark_buffer_dirty(bh); sbi->s_lvid_dirty = 0; mutex_unlock(&sbi->s_alloc_mutex); + /* Make closing of filesystem visible on the media immediately */ + sync_dirty_buffer(bh); } u64 lvid_get_unique_id(struct super_block *sb)