linux/fs/isofs
Jan Kara 17b7f7cf58 isofs: Refuse RW mount of the filesystem instead of making it RO
Refuse RW mount of isofs 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 isofs 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:50 +02:00
..
compress.c new helper: file_inode(file) 2013-02-22 23:31:31 -05:00
dir.c [readdir] convert isofs 2013-06-29 12:56:47 +04:00
export.c fs: encode_fh: return FILEID_INVALID if invalid fid_type 2013-02-26 02:46:10 -05:00
inode.c isofs: Refuse RW mount of the filesystem instead of making it RO 2013-07-31 22:14:50 +02:00
isofs.h userns: Convert isofs to use kuid/kgid where appropriate 2012-09-21 03:13:12 -07:00
joliet.c NLS: update handling of Unicode 2009-06-15 21:44:43 -07:00
Kconfig fs/Kconfig: move iso9660, udf out 2009-01-22 13:15:55 +03:00
Makefile
namei.c Don't pass inode to ->d_hash() and ->d_compare() 2013-06-29 12:57:36 +04:00
rock.c userns: Convert isofs to use kuid/kgid where appropriate 2012-09-21 03:13:12 -07:00
rock.h [PATCH] rock: rename union members 2005-06-21 19:07:38 -07:00
util.c
zisofs.h [PATCH] mark address_space_operations const 2006-06-28 14:59:04 -07:00