From 5c4a656b7e51503c2b5e7e7310ec326ee38a8389 Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Wed, 17 Jun 2009 16:26:27 -0700 Subject: 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: Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- fs/isofs/isofs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fs/isofs/isofs.h') 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; -- cgit v1.2.3