]> git.baikalelectronics.ru Git - kernel.git/commit
[SMB3] Fix oops when creating symlinks on smb3
authorSteve French <smfrench@gmail.com>
Mon, 15 Sep 2014 04:27:09 +0000 (23:27 -0500)
committerSteve French <smfrench@gmail.com>
Mon, 15 Sep 2014 08:04:50 +0000 (03:04 -0500)
commit26a612cfafb1738d04d07a1fc14bef6a5b168108
tree0ed0b999b3330a489c6c2b6b0c118c3b305d0c5f
parentda3380337be14f65e564c686f0ac2a144c1d0ca0
[SMB3] Fix oops when creating symlinks on smb3

We were not checking for symlink support properly for SMB2/SMB3
mounts so could oops when mounted with mfsymlinks when try
to create symlink when mfsymlinks on smb2/smb3 mounts

Signed-off-by: Steve French <smfrench@gmail.com>
Cc: <stable@vger.kernel.org> # 3.14+
CC: Sachin Prabhu <sprabhu@redhat.com>
fs/cifs/link.c