Jan Kara 9181f8bf5a udf: Don't modify filesystem for read-only mounts
When read-write mount of a filesystem is requested but we find out we
can mount the filesystem only in read-only mode, we still modify
LVID in udf_close_lvid(). That is both unnecessary and contrary to
expectation that when we fall back to read-only mount we don't modify
the filesystem.

Make sure we call udf_close_lvid() only if we called udf_open_lvid() so
that filesystem gets modified only if we verified we are allowed to
write to it.

Reported-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Jan Kara <jack@suse.com>
2015-08-20 14:58:35 +02:00
..
2015-01-05 11:04:37 +01:00
2014-07-15 22:40:23 +02:00
2009-06-11 21:36:13 -04:00
2015-05-18 11:23:08 +02:00
2015-06-23 18:01:59 -04:00
2013-09-24 11:23:33 +02:00