summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb1ops.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2012-09-19 01:20:27 +0200
committerSteve French <smfrench@gmail.com>2012-09-25 04:46:27 +0200
commit253641388a49259f6bfefecfb14fa057ca58dc21 (patch)
treee38c2f0561e5fd547a1c5d0633c4b65dc6f371a0 /fs/cifs/smb1ops.c
parentCIFS: Add SMB2 support for query_file_info (diff)
downloadlinux-253641388a49259f6bfefecfb14fa057ca58dc21.tar.xz
linux-253641388a49259f6bfefecfb14fa057ca58dc21.zip
CIFS: Move create code use ops struct
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to '')
-rw-r--r--fs/cifs/smb1ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb1ops.c b/fs/cifs/smb1ops.c
index cbbc122a501a..dd64754ed8cb 100644
--- a/fs/cifs/smb1ops.c
+++ b/fs/cifs/smb1ops.c
@@ -622,7 +622,7 @@ cifs_open_file(const unsigned int xid, struct cifs_tcon *tcon, const char *path,
{
if (!(tcon->ses->capabilities & CAP_NT_SMBS))
return SMBLegacyOpen(xid, tcon, path, disposition,
- desired_access, CREATE_NOT_DIR,
+ desired_access, create_options,
&fid->netfid, oplock, buf,
cifs_sb->local_nls, cifs_sb->mnt_cifs_flags
& CIFS_MOUNT_MAP_SPECIAL_CHR);