udf: Treat symlink component of type 2 as /
authorJan Kara <jack@suse.cz>
Mon, 12 Dec 2011 14:13:50 +0000 (15:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 18 Sep 2015 11:51:55 +0000 (13:51 +0200)
commit8b5c9cbf33c4ef5a8091c4db1b9fc9010d5f699e
treef60f8f314998fbb882da26f5973276abacf4c96b
parent79ba08d93105f786f925e8de11f1d944942bd79a
udf: Treat symlink component of type 2 as /

commit fef2e9f3301934773e4f1b3cc5c7bffb119346b8 upstream.

Currently, we ignore symlink component of type 2. But mkisofs and other OS'
seem to treat it as / so do the same for compatibility.

Reported-by: "Gábor S." <otnaccess@hotmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
[bwh: Needed for the following fix]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Willy Tarreau <w@1wt.eu>
fs/udf/symlink.c