diff options
author | Jan Kara <jack@suse.cz> | 2009-06-18 03:26:27 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-19 00:03:45 +0400 |
commit | 5c4a656b7e51503c2b5e7e7310ec326ee38a8389 (patch) | |
tree | 4493bfbd8b4e786ddb4d7e2717eb87de4da08774 /fs/isofs/isofs.h | |
parent | 52b680c81238ea14693ab893d5d32a4d1c0a987d (diff) | |
download | linux-5c4a656b7e51503c2b5e7e7310ec326ee38a8389.tar.xz |
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.h | 2 |
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; |