Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281458
b: refs/heads/master
c: 853a0c2
h: refs/heads/master
v: v3
  • Loading branch information
Jan Kara committed Jan 9, 2012
1 parent 427b3c1 commit 06833db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 33c104d415e92a51aaf638dc3d93920cfa601e5c
refs/heads/master: 853a0c25baf96b028de1654bea1e0c8857eadf3d
6 changes: 6 additions & 0 deletions trunk/fs/udf/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1799,6 +1799,12 @@ static void udf_close_lvid(struct super_block *sb)
le16_to_cpu(lvid->descTag.descCRCLength)));

lvid->descTag.tagChecksum = udf_tag_checksum(&lvid->descTag);
/*
* We set buffer uptodate unconditionally here to avoid spurious
* warnings from mark_buffer_dirty() when previous EIO has marked
* the buffer as !uptodate
*/
set_buffer_uptodate(bh);
mark_buffer_dirty(bh);
sbi->s_lvid_dirty = 0;
mutex_unlock(&sbi->s_alloc_mutex);
Expand Down

0 comments on commit 06833db

Please sign in to comment.