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 <[email protected]> Signed-off-by: Stefan Metzmacher <[email protected]> Reviewed-by: Stefan Metzmacher <[email protected]> Cc: <[email protected]> # v3.14+ Cc: Pavel Shilovsky <[email protected]> Cc: Steve French <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 7171511 commit a1d0b84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)