isofs: let mode and dmode mount options override rock ridge mode setting
commit52b680c81238ea14693ab893d5d32a4d1c0a987d
authorJan Kara <jack@suse.cz>
Wed, 17 Jun 2009 23:26:25 +0000 (17 16:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2009 20:03:45 +0000 (18 13:03 -0700)
tree9c3ec57c06faf001b60529d088c189f4bcb77fac
parentef43618a47179b41e7203a624f2c7445e7da488c
isofs: let mode and dmode mount options override rock ridge mode setting

So far, permissions set via 'mode' and/or 'dmode' mount options were
effective only if the medium had no rock ridge extensions (or was mounted
without them).  Add 'overriderockmode' mount option to indicate that these
options should override permissions set in rock ridge extensions.  Maybe
this should be default but the current behavior is there since mount
options were created so I think we should not change how they behave.

Cc: <Hans-Joachim.Baader@cjt.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/filesystems/isofs.txt
fs/isofs/inode.c
fs/isofs/isofs.h