linux/fs/smb/client
Luca Vizzarro ed5f17f66e fs: Pass argument to fcntl_setlease as int
The interface for fcntl expects the argument passed for the command
F_SETLEASE to be of type int. The current code wrongly treats it as
a long. In order to avoid access to undefined bits, we should explicitly
cast the argument to int.

Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Jeff Layton <jlayton@kernel.org>
Cc: Chuck Lever <chuck.lever@oracle.com>
Cc: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: Anna Schumaker <anna@kernel.org>
Cc: Kevin Brodsky <Kevin.Brodsky@arm.com>
Cc: Vincenzo Frascino <Vincenzo.Frascino@arm.com>
Cc: Szabolcs Nagy <Szabolcs.Nagy@arm.com>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: David Laight <David.Laight@ACULAB.com>
Cc: Mark Rutland <Mark.Rutland@arm.com>
Cc: linux-fsdevel@vger.kernel.org
Cc: linux-cifs@vger.kernel.org
Cc: linux-nfs@vger.kernel.org
Cc: linux-morello@op-lists.linaro.org
Signed-off-by: Luca Vizzarro <Luca.Vizzarro@arm.com>
Message-Id: <20230414152459.816046-3-Luca.Vizzarro@arm.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2023-07-10 14:36:11 +02:00
..
asn1.c
cached_dir.c cifs: Add a laundromat thread for cached directories 2023-07-05 22:36:07 -05:00
cached_dir.h cifs: Add a laundromat thread for cached directories 2023-07-05 22:36:07 -05:00
cifs_debug.c smb: client: fix shared DFS root mounts with different prefixes 2023-06-28 15:48:43 -05:00
cifs_debug.h
cifs_dfs_ref.c smb: client: fix parsing of source mount option 2023-06-28 11:48:56 -05:00
cifs_fs_sb.h
cifs_ioctl.h
cifs_spnego_negtokeninit.asn1
cifs_spnego.c
cifs_spnego.h
cifs_swn.c
cifs_swn.h
cifs_unicode.c
cifs_unicode.h
cifs_uniupr.h
cifsacl.c
cifsacl.h
cifsencrypt.c
cifsfs.c fs: Pass argument to fcntl_setlease as int 2023-07-10 14:36:11 +02:00
cifsfs.h
cifsglob.h asm-generic updates for 6.5 2023-07-06 10:06:04 -07:00
cifspdu.h
cifsproto.h smb: client: fix shared DFS root mounts with different prefixes 2023-06-28 15:48:43 -05:00
cifsroot.c
cifssmb.c
connect.c cifs: fix session state transition to avoid use-after-free issue 2023-07-01 00:08:59 -05:00
dfs_cache.c smb: client: fix shared DFS root mounts with different prefixes 2023-06-28 15:48:43 -05:00
dfs_cache.h
dfs.c smb: client: remove redundant pointer 'server' 2023-07-01 00:21:17 -05:00
dfs.h smb: client: fix shared DFS root mounts with different prefixes 2023-06-28 15:48:43 -05:00
dir.c
dns_resolve.c
dns_resolve.h
export.c
file.c 20 cifs/smb3 fixes, 8 for stable 2023-06-30 22:00:28 -07:00
fs_context.c smb: client: fix parsing of source mount option 2023-06-28 11:48:56 -05:00
fs_context.h
fscache.c
fscache.h
inode.c
ioctl.c
Kconfig
link.c
Makefile
misc.c smb: client: fix shared DFS root mounts with different prefixes 2023-06-28 15:48:43 -05:00
netlink.c
netlink.h
netmisc.c
nterr.c
nterr.h
ntlmssp.h
readdir.c
rfc1002pdu.h
sess.c
smb1ops.c
smb2file.c
smb2glob.h
smb2inode.c smb: client: fix broken file attrs with nodfs mounts 2023-06-28 11:47:53 -05:00
smb2maperror.c
smb2misc.c
smb2ops.c 20 cifs/smb3 fixes, 8 for stable 2023-06-30 22:00:28 -07:00
smb2pdu.c cifs: fix session state check in reconnect to avoid use-after-free issue 2023-06-28 11:47:43 -05:00
smb2pdu.h
smb2proto.h
smb2status.h
smb2transport.c cifs: new dynamic tracepoint to track ses not found errors 2023-06-29 09:58:09 -05:00
smbdirect.c asm-generic updates for 6.5 2023-07-06 10:06:04 -07:00
smbdirect.h
smbencrypt.c
smberr.h
trace.c
trace.h cifs: new dynamic tracepoint to track ses not found errors 2023-06-29 09:58:09 -05:00
transport.c cifs: do all necessary checks for credits within or before locking 2023-06-28 11:46:58 -05:00
unc.c
winucase.c
xattr.c