udf: Mark LVID buffer as uptodate before marking it dirty
authorJan Kara <jack@suse.cz>
Fri, 23 Dec 2011 10:53:07 +0000 (11:53 +0100)
committerJan Kara <jack@suse.cz>
Mon, 9 Jan 2012 12:52:10 +0000 (13:52 +0100)
commit853a0c25baf96b028de1654bea1e0c8857eadf3d
tree2b72d7cafe569583322fa132ebc8c9821e8d7bce
parent33c104d415e92a51aaf638dc3d93920cfa601e5c
udf: Mark LVID buffer as uptodate before marking it dirty

When we hit EIO while writing LVID, the buffer uptodate bit is cleared.
This then results in an anoying warning from mark_buffer_dirty() when we
write the buffer again. So just set uptodate flag unconditionally.

Reviewed-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/super.c