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-03 17:49, Kjell Braden wrote:
   let me add that mounting paths below symlinks worked with the old path
walking before commit fec11dd9a0109fe52fd631e5c510778d6cbff6cc.

Sorry, forgot specifics:

Consider the following tree:

  /srv/symtest
  /srv/symtest/dir
  /srv/symtest/dir/subdir/
  /srv/symtest/link -> dir/
  /srv/symtest/abslink -> /

this works:
   # mount.cifs //smbsrv/symtest/dir/subdir/ /mnt/

this causes oops but worked before fec11dd9a0:
   # mount.cifs //smbsrv/symtest/link/subdir/ /mnt/

this fails with ENOTDIR, both before fec11dd9a0 and after:
   # mount.cifs //smbsrv/symtest/abslink/srv/symtest/dir/subdir/ /mnt/
--
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