summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb1ops.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2020-03-08 09:57:58 +0100
committerIngo Molnar <mingo@kernel.org>2020-03-08 09:57:58 +0100
commit6120681bdf1a1c648e8c555704b71e04abe2e899 (patch)
treea8a3f55c4ed771dc57082d8af2f8d28ab6e5d341 /fs/cifs/smb1ops.c
parent3be5f0d286dc944dee65fdcbddfc4d314f7d4482 (diff)
parentd6c066fda90d578aacdf19771a027ed484a79825 (diff)
downloadlinux-6120681bdf1a1c648e8c555704b71e04abe2e899.tar.gz
linux-6120681bdf1a1c648e8c555704b71e04abe2e899.tar.bz2
linux-6120681bdf1a1c648e8c555704b71e04abe2e899.zip
Merge branch 'efi/urgent' into efi/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.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;