summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb1ops.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-10 08:12:46 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-10 08:12:46 +0100
commit8e567ed9e244f6af2ecfd22a7204612ec361d334 (patch)
treebf558612f56dcdd862ead3fefd1aa5abaac15688 /fs/cifs/smb1ops.c
parent6701adfa9693bd20b89f2cce57754ced2c18ed3b (diff)
parent2c523b344dfa65a3738e7039832044aa133c75fb (diff)
downloadlinux-8e567ed9e244f6af2ecfd22a7204612ec361d334.tar.gz
linux-8e567ed9e244f6af2ecfd22a7204612ec361d334.tar.bz2
linux-8e567ed9e244f6af2ecfd22a7204612ec361d334.zip
Merge 5.6-rc5 into usb-next
We need the USB fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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;