• Jan Kara's avatar
    isofs: Refuse RW mount of the filesystem instead of making it RO · 17b7f7cf
    Jan Kara authored
    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: 's avatarHui Wang <hui.wang@canonical.com>
    Signed-off-by: 's avatarJan Kara <jack@suse.cz>
    17b7f7cf
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
compress.c Loading commit data...
dir.c Loading commit data...
export.c Loading commit data...
inode.c Loading commit data...
isofs.h Loading commit data...
joliet.c Loading commit data...
namei.c Loading commit data...
rock.c Loading commit data...
rock.h Loading commit data...
util.c Loading commit data...
zisofs.h Loading commit data...