summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb1ops.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-03-03 17:31:19 -0600
committerLinus Torvalds <torvalds@linux-foundation.org>2020-03-03 17:31:19 -0600
commit8b614cb8f1dcac8ca77cf4dd85f46ef3055f8238 (patch)
tree810fb619ff3f91be8d6ed3668a6bbcedc608f0f4 /fs/cifs/smb1ops.c
parent2873dc25477f483997c99981cf14b43a0d4f84d4 (diff)
parentfb4b5f13464c468a9c10ae1ab8ba9aa352d0256a (diff)
downloadlinux-stable-8b614cb8f1dcac8ca77cf4dd85f46ef3055f8238.tar.gz
linux-stable-8b614cb8f1dcac8ca77cf4dd85f46ef3055f8238.tar.bz2
linux-stable-8b614cb8f1dcac8ca77cf4dd85f46ef3055f8238.zip
Merge tag '5.6-rc4-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6
Pull cifs fixes from Steve French: "Five small cifs/smb3 fixes, two for stable (one for a reconnect problem and the other fixes a use case when renaming an open file)" * tag '5.6-rc4-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6: cifs: Use #define in cifs_dbg cifs: fix rename() by ensuring source handle opened with DELETE bit cifs: add missing mount option to /proc/mounts cifs: fix potential mismatch of UNC paths cifs: don't leak -EAGAIN for stat() during reconnect
Diffstat (limited to 'fs/cifs/smb1ops.c')
-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 eb994e313c6a..b130efaf8feb 100644
--- a/fs/cifs/smb1ops.c
+++ b/fs/cifs/smb1ops.c
@@ -766,7 +766,7 @@ smb_set_file_info(struct inode *inode, const char *full_path,
struct cifs_tcon *tcon;
/* if the file is already open for write, just use that fileid */
- open_file = find_writable_file(cinode, true);
+ open_file = find_writable_file(cinode, FIND_WR_FSUID_ONLY);
if (open_file) {
fid.netfid = open_file->fid.netfid;
netpid = open_file->pid;