fs/cifs: fix regression in cifs_create_mf_symlink()
authorBjörn Baumbach <[email protected]>
Tue, 10 Jun 2014 10:03:26 +0000 (12:03 +0200)
committerSteve French <[email protected]>
Mon, 16 Jun 2014 18:50:11 +0000 (13:50 -0500)
commit d81b8a40e2ece0a9ab57b1fe1798e291e75bf8fc
("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]>
fs/cifs/link.c

index 264ece71bdb20673d331c9335350705505d6e3fd..68559fd557fbbc845e71c71498f314887494c7fc 100644 (file)
@@ -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;