android_kernel_motorola_sm6375/fs/cifs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Al Viro 831d8c1175
UPSTREAM: new helper: inode_wrong_type()
commit 6e3e2c4362e41a2f18e3f7a5ad81bd2f49a47b85 upstream.

inode_wrong_type(inode, mode) returns true if setting inode->i_mode
to given value would've changed the inode type.  We have enough of
those checks open-coded to make a helper worthwhile.

Change-Id: I346cb7a2d1cec2ca16096962d8adc9d7f848fc94
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-05-08 21:46:14 +02:00
..
asn1.c cifs: remove bogus debug code 2020-10-29 09:57:28 +01:00
cache.c
cifs_debug.c cifs: Don't display RDMA transport on reconnect 2019-12-21 11:04:43 +01:00
cifs_debug.h
cifs_dfs_ref.c cifs: prevent NULL deref in cifs_compose_mount_options() 2021-07-25 14:35:13 +02:00
cifs_fs_sb.h
cifs_ioctl.h
cifs_spnego.c cifs: spnego: add ';' in HOST_KEY_LEN 2023-11-28 16:50:17 +00:00
cifs_spnego.h
cifs_unicode.c CIFS: Fix a potencially linear read overflow 2021-09-15 09:47:36 +02:00
cifs_unicode.h
cifs_uniupr.h
cifsacl.c SMB3: Backup intent flag missing from some more ops 2023-03-17 08:32:50 +01:00
cifsacl.h
cifsencrypt.c
cifsfs.c cifs: Fix non-availability of dedup breaking generic/304 2023-12-13 18:18:17 +01:00
cifsfs.h cifs: fix DFS traversal oops without CONFIG_CIFS_DFS_UPCALL 2023-04-05 11:16:45 +02:00
cifsglob.h cifs: Fix UAF in cifs_demultiplex_thread() 2025-08-28 16:21:36 +02:00
cifspdu.h
cifsproto.h smb3: fix problem with null cifs super block with previous patch 2023-04-20 12:07:32 +02:00
cifsroot.c
cifssmb.c cifs: Fix calling CIFSFindFirst() for root path without msearch 2025-08-28 16:21:27 +02:00
connect.c cifs: fix integer overflow in match_server() 2025-09-09 18:44:02 +02:00
dfs_cache.c cifs: Fix potential deadlock when updating vol in cifs_reconnect() 2023-06-28 10:18:37 +02:00
dfs_cache.h
dir.c SMB3: Backup intent flag missing from some more ops 2023-03-17 08:32:50 +01:00
dns_resolve.c
dns_resolve.h
export.c
file.c cifs: Release folio lock on fscache read hit. 2023-08-30 16:27:19 +02:00
fscache.c
fscache.h
inode.c UPSTREAM: new helper: inode_wrong_type() 2026-05-08 21:46:14 +02:00
ioctl.c SMB3: Backup intent flag missing from some more ops 2023-03-17 08:32:50 +01:00
Kconfig
link.c SMB3: Backup intent flag missing from some more ops 2023-03-17 08:32:50 +01:00
Makefile
misc.c cifs: Fix cifs_query_path_info() for Windows NT servers 2025-07-17 18:24:49 +02:00
netmisc.c
nterr.c
nterr.h
ntlmssp.h
readdir.c smb: client: Reset all search buffer pointers when releasing buffer 2025-06-04 14:32:36 +02:00
rfc1002pdu.h
sess.c cifs: fix wrong release in sess_alloc_buffer() failed path 2021-09-22 12:26:35 +02:00
smb1ops.c SMB3: Backup intent flag missing from some more ops 2023-03-17 08:32:50 +01:00
smb2file.c cifs: Adjust indentation in smb2_open_file 2020-01-17 19:48:27 +01:00
smb2glob.h
smb2inode.c SMB3: Backup intent flag missing from some more ops 2023-03-17 08:32:50 +01:00
smb2maperror.c
smb2misc.c smb: client: fix NULL deref in asn1_ber_decoder() 2024-01-08 11:29:45 +01:00
smb2ops.c cifs: Fix buffer overflow when parsing NFS reparse points 2024-12-14 19:44:21 +01:00
smb2pdu.c smb: client: fix OOBs when building SMB2_IOCTL request 2024-11-08 16:20:50 +01:00
smb2pdu.h ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE 2024-01-08 11:29:42 +01:00
smb2proto.h smb: client: fix potential OOBs in smb2_parse_contexts() 2024-05-25 16:17:17 +02:00
smb2status.h
smb2transport.c CIFS: Fix task struct use-after-free on reconnect 2020-02-01 09:34:37 +00:00
smbdirect.c smb: client: let recv_done() cleanup before notifying the callers. 2025-08-28 16:21:22 +02:00
smbdirect.h
smbencrypt.c
smberr.h
smbfsctl.h
trace.c
trace.h
transport.c cifs: Fix UAF in cifs_demultiplex_thread() 2025-08-28 16:21:36 +02:00
winucase.c
xattr.c