isofs: fix setting of uid and gid to 0
authorJan Kara <jack@suse.cz>
Wed, 17 Jun 2009 23:26:27 +0000 (16:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2009 20:03:45 +0000 (13:03 -0700)
commit5c4a656b7e51503c2b5e7e7310ec326ee38a8389
tree4493bfbd8b4e786ddb4d7e2717eb87de4da08774
parent52b680c81238ea14693ab893d5d32a4d1c0a987d
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>
fs/isofs/inode.c
fs/isofs/isofs.h