aboutsummaryrefslogtreecommitdiff
path: root/fs/isofs/isofs.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2009-06-17 16:26:27 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-18 13:03:45 -0700
commit5c4a656b7e51503c2b5e7e7310ec326ee38a8389 (patch)
tree4493bfbd8b4e786ddb4d7e2717eb87de4da08774 /fs/isofs/isofs.h
parent52b680c81238ea14693ab893d5d32a4d1c0a987d (diff)
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 'fs/isofs/isofs.h')
-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 9679fbcbfc0..e2fc9704f14 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;