summaryrefslogtreecommitdiff
path: root/fs/udf/super.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2018-02-22 12:28:52 +0300
committerJan Kara <jack@suse.cz>2018-02-27 12:25:33 +0300
commit0c9850f4d4c5d645125869fe0fa206fb662bd98b (patch)
tree441eb17e805ce00a37c008c4a63372ee087f4e53 /fs/udf/super.c
parentecd10aa42819cd5dcf639d25575e95a5bda8d08a (diff)
downloadlinux-0c9850f4d4c5d645125869fe0fa206fb662bd98b.tar.xz
udf: Clean up handling of invalid uid/gid
Current code relies on the fact that invalid uid/gid as defined by UDF 2.60 3.3.3.1 and 3.3.3.2 coincides with invalid uid/gid as used by the user namespaces implementation. Since this is only lucky coincidence, clean this up to avoid future surprises in case user namespaces implementation changes. Also this is more robust in presence of valid (from UDF point of view) uids / gids which do not map into current user namespace. Reviewed-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/super.c')
0 files changed, 0 insertions, 0 deletions