summaryrefslogtreecommitdiffstats
path: root/fs/ksmbd/vfs.c
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.com>2022-05-22 23:03:29 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2022-05-22 23:03:29 +0200
commitda50aad6d86716aa48a2b8463c85caea77c0355f (patch)
treec9604cc380e99e613c25ec06cbfcd5009c4575ba /fs/ksmbd/vfs.c
parentpower: supply: bq24190_charger: using pm_runtime_resume_and_get instead of pm... (diff)
parentpower: supply: ab8500_fg: Allocate wq in probe (diff)
downloadlinux-da50aad6d86716aa48a2b8463c85caea77c0355f.tar.xz
linux-da50aad6d86716aa48a2b8463c85caea77c0355f.zip
Merge power-supply 'fixes' branch
Merge power-supply fixes, that missed the v5.18 merge window into power-supply's for-next branch. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'fs/ksmbd/vfs.c')
-rw-r--r--fs/ksmbd/vfs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/ksmbd/vfs.c b/fs/ksmbd/vfs.c
index 9cebb6ba555b..dcdd07c6efff 100644
--- a/fs/ksmbd/vfs.c
+++ b/fs/ksmbd/vfs.c
@@ -398,8 +398,7 @@ int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, size_t count,
nbytes = kernel_read(filp, rbuf, count, pos);
if (nbytes < 0) {
- pr_err("smb read failed for (%s), err = %zd\n",
- fp->filename, nbytes);
+ pr_err("smb read failed, err = %zd\n", nbytes);
return nbytes;
}
@@ -875,8 +874,7 @@ int ksmbd_vfs_truncate(struct ksmbd_work *work,
err = vfs_truncate(&filp->f_path, size);
if (err)
- pr_err("truncate failed for filename : %s err %d\n",
- fp->filename, err);
+ pr_err("truncate failed, err %d\n", err);
return err;
}