Skip to content

Commit a1d0b84

Browse files
Björn Baumbachsmfrench
authored andcommitted
fs/cifs: fix regression in cifs_create_mf_symlink()
commit d81b8a4 ("CIFS: Cleanup cifs open codepath") changed disposition to FILE_OPEN. Signed-off-by: Björn Baumbach <bb@sernet.de> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Stefan 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: Steve French <smfrench@gmail.com>
1 parent 7171511 commit a1d0b84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/cifs/link.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,
374374
oparms.cifs_sb = cifs_sb;
375375
oparms.desired_access = GENERIC_WRITE;
376376
oparms.create_options = create_options;
377-
oparms.disposition = FILE_OPEN;
377+
oparms.disposition = FILE_CREATE;
378378
oparms.path = path;
379379
oparms.fid = &fid;
380380
oparms.reconnect = false;

0 commit comments

Comments
 (0)