Re: [PATCH] cifs: ensure that cifs_get_root() only traverses directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2013-02-01 21:11, Jeff Layton wrote:
When walking down the path on the server, it's possible to hit a
symlink. The path walking code assumes that the caller will handle that
situation properly, but cifs_get_root() isn't set up for it. This patch
prevents the oops by simply returning an error.

A better solution would be to try and chase the symlinks here, but that's
fairly complicated to handle.


Hi,

let me add that mounting paths below symlinks worked with the old path walking before commit fec11dd9a0109fe52fd631e5c510778d6cbff6cc.

While it's not a big deal to work around this once the oops is fixed, it would be great if the regression could be fixed.

--
Kjell
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux