Commit a1d0b84c authored by Björn Baumbach's avatar Björn Baumbach Committed by Steve French

fs/cifs: fix regression in cifs_create_mf_symlink()

commit d81b8a40
("CIFS: Cleanup cifs open codepath")
changed disposition to FILE_OPEN.
Signed-off-by: default avatarBjörn Baumbach <bb@sernet.de>
Signed-off-by: default avatarStefan Metzmacher <metze@samba.org>
Reviewed-by: default avatarStefan Metzmacher <metze@samba.org>
Cc: <stable@vger.kernel.org> # v3.14+
Cc: Pavel Shilovsky <piastry@etersoft.ru>
Cc: Steve French <sfrench@samba.org>
Signed-off-by: default avatarSteve French <smfrench@gmail.com>
parent 7171511e
......@@ -374,7 +374,7 @@ cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,
oparms.cifs_sb = cifs_sb;
oparms.desired_access = GENERIC_WRITE;
oparms.create_options = create_options;
oparms.disposition = FILE_OPEN;
oparms.disposition = FILE_CREATE;
oparms.path = path;
oparms.fid = &fid;
oparms.reconnect = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment