linux/fs/udf
Jan Kara e729eac6f6 udf: Refuse RW mount of the filesystem instead of making it RO
Refuse RW mount of udf filesystem. So far we just silently changed it
to RO mount but when the media is writeable, block layer won't notice
this change and thus will think device is used RW and will block eject
button of the drive. That is unexpected by users because for
non-writeable media eject button works just fine.

Userspace mount(8) command handles this just fine and retries mounting
with MS_RDONLY set so userspace shouldn't see any regression.  Plus any
tool mounting udf is likely confronted with the case of read-only
media where block layer already refuses to mount the filesystem without
MS_RDONLY set so our behavior shouldn't be anything new for it.

Reported-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Jan Kara <jack@suse.cz>
2013-07-31 22:14:51 +02:00
..
balloc.c
dir.c [readdir] convert udf 2013-06-29 12:46:50 +04:00
directory.c
ecma_167.h
file.c fs: change return values from -EACCES to -EPERM 2013-02-26 02:46:14 -05:00
ialloc.c
inode.c aio: don't include aio.h in sched.h 2013-05-07 20:16:25 -07:00
Kconfig
lowlevel.c
Makefile
misc.c
namei.c udf: provide ->tmpfile() 2013-06-29 12:57:12 +04:00
osta_udf.h
partition.c
super.c udf: Refuse RW mount of the filesystem instead of making it RO 2013-07-31 22:14:51 +02:00
symlink.c
truncate.c udf: Do not decrement i_blocks when freeing indirect extent block 2012-07-09 13:24:21 +02:00
udf_i.h udf: add extent cache support in case of file reading 2013-01-22 10:48:31 +01:00
udf_sb.h udf: Remove unused s_extLength from udf_bitmap 2013-02-05 17:29:53 +01:00
udfdecl.h udf: add extent cache support in case of file reading 2013-01-22 10:48:31 +01:00
udfend.h
udftime.c
unicode.c