summaryrefslogtreecommitdiffstats
path: root/fs/isofs/isofs.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2009-06-18 01:26:27 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-18 22:03:45 +0200
commit5c4a656b7e51503c2b5e7e7310ec326ee38a8389 (patch)
tree4493bfbd8b4e786ddb4d7e2717eb87de4da08774 /fs/isofs/isofs.h
parentisofs: let mode and dmode mount options override rock ridge mode setting (diff)
downloadlinux-5c4a656b7e51503c2b5e7e7310ec326ee38a8389.tar.xz
linux-5c4a656b7e51503c2b5e7e7310ec326ee38a8389.zip
isofs: fix setting of uid and gid to 0
isofs allows setting of default uid and gid of files but value 0 was used to indicate that user did not specify any uid/gid mount option. Since this option also overrides uid/gid set in Rock Ridge extension, it makes sense to allow forcing uid/gid 0. Fix option processing to allow this. 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>
Diffstat (limited to '')
-rw-r--r--fs/isofs/isofs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/isofs/isofs.h b/fs/isofs/isofs.h
index 9679fbcbfc03..e2fc9704f14f 100644
--- a/fs/isofs/isofs.h
+++ b/fs/isofs/isofs.h
@@ -51,6 +51,8 @@ struct isofs_sb_info {
unsigned char s_hide;
unsigned char s_showassoc;
unsigned char s_overriderockperm;
+ unsigned char s_uid_set;
+ unsigned char s_gid_set;
mode_t s_fmode;
mode_t s_dmode;