lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241017064923.1585214-1-zhengzucheng@huawei.com>
Date: Thu, 17 Oct 2024 06:49:23 +0000
From: Zheng Zucheng <zhengzucheng@...wei.com>
To: <miklos@...redi.hu>, <amir73il@...il.com>
CC: <linux-kernel@...r.kernel.org>, <linux-unionfs@...r.kernel.org>
Subject: [PATCH -next] fs: Fix build error

The following build error report:
fs/overlayfs/file.c: In function ‘ovl_file_end_write’:
fs/overlayfs/file.c:292:51: error: parameter name omitted
  292 | static void ovl_file_end_write(struct file *file, loff_t, ssize_t)
      |                                                   ^~~~~~
fs/overlayfs/file.c:292:59: error: parameter name omitted
  292 | static void ovl_file_end_write(struct file *file, loff_t, ssize_t)
                                                                  ^~~~~~~

Fixes: 291f180e5929 ("fs: pass offset and result to backing_file end_write() callback")
Signed-off-by: Zheng Zucheng <zhengzucheng@...wei.com>
---
 fs/overlayfs/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/overlayfs/file.c b/fs/overlayfs/file.c
index 70df61d5e95a..faeac5842694 100644
--- a/fs/overlayfs/file.c
+++ b/fs/overlayfs/file.c
@@ -289,7 +289,7 @@ static void ovl_file_modified(struct file *file)
 	ovl_copyattr(file_inode(file));
 }
 
-static void ovl_file_end_write(struct file *file, loff_t, ssize_t)
+static void ovl_file_end_write(struct file *file, loff_t pos, ssize_t ret)
 {
 	ovl_file_modified(file);
 }
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ