udf: Ignore [ug]id=ignore mount options
authorJan Kara <jack@suse.cz>
Wed, 21 Feb 2018 16:27:44 +0000 (17:27 +0100)
committerJan Kara <jack@suse.cz>
Tue, 27 Feb 2018 09:25:33 +0000 (10:25 +0100)
commit70260e44750356fecb40ff5fcb0f91bcc911ab5f
tree257292ff2eb539b1f69019d3269dd83743a93488
parent7b78fd02fb19530fd101ae137a1f46aa466d9bb6
udf: Ignore [ug]id=ignore mount options

Currently uid=ignore and gid=ignore make no sense without uid=<number>
and gid=<number> respectively as they result in all files having invalid
uid / gid which then doesn't allow even root to modify files and thus
causes confusion. And since commit ca76d2d8031f "UDF: fix UID and GID
mount option ignorance" (from over 10 years ago) uid=<number> overrides
all uids on disk as uid=ignore does. So just silently ignore uid=ignore
mount option.

Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/inode.c
fs/udf/super.c
fs/udf/udf_sb.h