Aurelien Aptel a6b5058faf fs/cifs: make share unaccessible at root level mountable
if, when mounting //HOST/share/sub/dir/foo we can query /sub/dir/foo but
not any of the path components above:

- store the /sub/dir/foo prefix in the cifs super_block info
- in the superblock, set root dentry to the subpath dentry (instead of
  the share root)
- set a flag in the superblock to remember it
- use prefixpath when building path from a dentry

fixes bso#8950

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
CC: Stable <stable@vger.kernel.org>
Reviewed-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
2016-07-27 22:50:55 -05:00
..
2013-11-08 05:57:46 +09:00
2015-12-07 23:11:33 -05:00
2015-06-27 20:23:32 -07:00
2014-12-14 14:55:57 -06:00
2016-05-17 14:09:33 -05:00
2016-06-23 23:45:17 -05:00
2015-11-03 10:10:36 -06:00
2016-07-11 22:20:54 -05:00
2012-07-24 10:25:13 -05:00
2016-01-27 20:35:53 +08:00
2013-09-08 14:54:24 -05:00