All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fs/cifs: fix regression in cifs_create_mf_symlink()
@ 2014-06-10 10:03 Björn Baumbach
       [not found] ` <1402394606-7910-1-git-send-email-bb-3ekOc4rQMZmzQB+pC5nmwQ@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Björn Baumbach @ 2014-06-10 10:03 UTC (permalink / raw)
  To: Steve French
  Cc: linux-cifs, linux-kernel, Pavel Shilovsky, stable,
	Björn Baumbach, Stefan Metzmacher

commit d81b8a40e2ece0a9ab57b1fe1798e291e75bf8fc
("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>
---
 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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-17  8:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-10 10:03 [PATCH] fs/cifs: fix regression in cifs_create_mf_symlink() Björn Baumbach
     [not found] ` <1402394606-7910-1-git-send-email-bb-3ekOc4rQMZmzQB+pC5nmwQ@public.gmane.org>
2014-06-16 13:49   ` Stefan (metze) Metzmacher
2014-06-16 13:49     ` Stefan (metze) Metzmacher
2014-06-16 22:07     ` Steve French
2014-06-17  8:56       ` Stefan (metze) Metzmacher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.