]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb/client: clean up a type issue in cifs_xattr_get()
authorDan Carpenter <error27@gmail.com>
Thu, 11 Jun 2026 07:34:51 +0000 (10:34 +0300)
committerSteve French <stfrench@microsoft.com>
Sun, 14 Jun 2026 20:12:24 +0000 (15:12 -0500)
commit2e4f0d9815e93771a8002199fee2e3cd196811a7
treeff7ad3e2c52666fe2a068f9aa1326bb07b158fe5
parent3ecad5de621ef538cbd63ae7075fddcc426dcd74
smb/client: clean up a type issue in cifs_xattr_get()

The cifs_xattr_get() function returns type int, not ssize_t so
declare "rc" as int as well.  This has no effect on runtime.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/xattr.c