[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1402394606-7910-1-git-send-email-bb@sernet.de>
Date: Tue, 10 Jun 2014 12:03:26 +0200
From: Björn Baumbach <bb@...net.de>
To: Steve French <sfrench@...ba.org>
Cc: linux-cifs@...r.kernel.org, linux-kernel@...r.kernel.org,
Pavel Shilovsky <piastry@...rsoft.ru>, stable@...r.kernel.org,
Björn Baumbach <bb@...net.de>,
Stefan Metzmacher <metze@...ba.org>
Subject: [PATCH] fs/cifs: fix regression in cifs_create_mf_symlink()
commit d81b8a40e2ece0a9ab57b1fe1798e291e75bf8fc
("CIFS: Cleanup cifs open codepath")
changed disposition to FILE_OPEN.
Signed-off-by: Björn Baumbach <bb@...net.de>
Signed-off-by: Stefan Metzmacher <metze@...ba.org>
Reviewed-by: Stefan Metzmacher <metze@...ba.org>
Cc: <stable@...r.kernel.org> # v3.14+
Cc: Pavel Shilovsky <piastry@...rsoft.ru>
Cc: Steve French <sfrench@...ba.org>
---
fs/cifs/link.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/cifs/link.c b/fs/cifs/link.c
index 264ece7..68559fd 100644
--- a/fs/cifs/link.c
+++ b/fs/cifs/link.c
@@ -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;
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists