Björn Baumbach
2014-06-10 10:03:26 UTC
commit d81b8a40e2ece0a9ab57b1fe1798e291e75bf8fc
("CIFS: Cleanup cifs open codepath")
changed disposition to FILE_OPEN.
Signed-off-by: Bj=C3=B6rn Baumbach <***@sernet.de>
Signed-off-by: Stefan Metzmacher <***@samba.org>
Reviewed-by: Stefan Metzmacher <***@samba.org>
Cc: <***@vger.kernel.org> # v3.14+
Cc: Pavel Shilovsky <***@etersoft.ru>
Cc: Steve French <***@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 cif=
s_tcon *tcon,
oparms.cifs_sb =3D cifs_sb;
oparms.desired_access =3D GENERIC_WRITE;
oparms.create_options =3D create_options;
- oparms.disposition =3D FILE_OPEN;
+ oparms.disposition =3D FILE_CREATE;
oparms.path =3D path;
oparms.fid =3D &fid;
oparms.reconnect =3D false;
--=20
1.7.9.5
("CIFS: Cleanup cifs open codepath")
changed disposition to FILE_OPEN.
Signed-off-by: Bj=C3=B6rn Baumbach <***@sernet.de>
Signed-off-by: Stefan Metzmacher <***@samba.org>
Reviewed-by: Stefan Metzmacher <***@samba.org>
Cc: <***@vger.kernel.org> # v3.14+
Cc: Pavel Shilovsky <***@etersoft.ru>
Cc: Steve French <***@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 cif=
s_tcon *tcon,
oparms.cifs_sb =3D cifs_sb;
oparms.desired_access =3D GENERIC_WRITE;
oparms.create_options =3D create_options;
- oparms.disposition =3D FILE_OPEN;
+ oparms.disposition =3D FILE_CREATE;
oparms.path =3D path;
oparms.fid =3D &fid;
oparms.reconnect =3D false;
--=20
1.7.9.5