[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)
commitda80659d4aa758dc6935b10ec64513f0b67bc969
tree0ed0b999b3330a489c6c2b6b0c118c3b305d0c5f
parent2ae83bf93882d1ec0cd775c489bd1bee611f792e
[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