WSL2-Linux-Kernel/fs/cifs
Steve French d39fc592ef cifs: release leases for deferred close handles when freezing
We should not be caching closed files when freeze is invoked on an fs
(so we can release resources more gracefully).

Fixes xfstests generic/068 generic/390 generic/491

Reviewed-by: David Howells <dhowells@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
2023-05-10 17:48:30 -05:00
..
Kconfig cifs: Change the I/O paths to use an iterator rather than a page list 2023-02-20 18:36:02 -06:00
Makefile cifs: get rid of mount options string parsing 2022-12-19 08:03:11 -06:00
asn1.c
cached_dir.c cifs: fix dentry lookups in directory handle cache 2023-03-24 14:37:12 -05:00
cached_dir.h cifs: drop the lease for cached directories on rmdir or rename 2022-10-19 17:57:41 -05:00
cifs_debug.c cifs: fix potential use-after-free bugs in TCP_Server_Info::hostname 2023-05-02 09:41:09 -05:00
cifs_debug.h cifs: fix potential use-after-free bugs in TCP_Server_Info::hostname 2023-05-02 09:41:09 -05:00
cifs_dfs_ref.c cifs: avoid dup prefix path in dfs_get_automount_devname() 2023-04-16 18:04:36 -05:00
cifs_fs_sb.h cifs: fix use-after-free bug in refresh_cache_worker() 2023-03-14 21:07:44 -05:00
cifs_ioctl.h cifs: minor cleanup of some headers 2022-12-12 13:08:06 -06:00
cifs_spnego.c cred: Do not default to init_cred in prepare_kernel_cred() 2022-11-01 10:04:52 -07:00
cifs_spnego.h cifs: Replace remaining 1-element arrays 2023-02-20 11:48:48 -06:00
cifs_spnego_negtokeninit.asn1
cifs_swn.c
cifs_swn.h
cifs_unicode.c
cifs_unicode.h
cifs_uniupr.h
cifsacl.c 46 fs/cifs (smb3 client) changesets, 37 in fs/cifs and 9 for related helper functions and cleanup outside from Dave Howells and Willy 2023-02-22 17:12:44 -08:00
cifsacl.h
cifsencrypt.c cifs: Change the I/O paths to use an iterator rather than a page list 2023-02-20 18:36:02 -06:00
cifsfs.c cifs: release leases for deferred close handles when freezing 2023-05-10 17:48:30 -05:00
cifsfs.h cifs: update internal module version number for cifs.ko 2023-04-28 22:50:42 -05:00
cifsglob.h cifs: fix sharing of DFS connections 2023-05-04 16:54:44 -05:00
cifspdu.h cifs: Replace remaining 1-element arrays 2023-02-20 11:48:48 -06:00
cifsproto.h cifs: fix sharing of DFS connections 2023-05-04 16:54:44 -05:00
cifsroot.c
cifssmb.c cifs: double lock in cifs_reconnect_tcon() 2023-04-06 22:45:41 -05:00
connect.c smb3: fix problem remounting a share after shutdown 2023-05-09 09:54:58 -05:00
dfs.c cifs: fix sharing of DFS connections 2023-05-04 16:54:44 -05:00
dfs.h cifs: protect access of TCP_Server_Info::{origin,leaf}_fullpath 2023-05-03 23:29:39 -05:00
dfs_cache.c cifs: avoid potential races when handling multiple dfs tcons 2023-05-03 23:29:47 -05:00
dfs_cache.h cifs: avoid potential races when handling multiple dfs tcons 2023-05-03 23:29:47 -05:00
dir.c 46 fs/cifs (smb3 client) changesets, 37 in fs/cifs and 9 for related helper functions and cleanup outside from Dave Howells and Willy 2023-02-22 17:12:44 -08:00
dns_resolve.c cifs: set resolved ip in sockaddr 2022-12-19 08:03:11 -06:00
dns_resolve.h cifs: set resolved ip in sockaddr 2022-12-19 08:03:11 -06:00
export.c
file.c SMB3: Close deferred file handles in case of handle lease break 2023-04-27 11:03:33 -05:00
fs_context.c cifs: sanitize paths in cifs_update_super_prepath. 2023-04-05 12:32:19 -05:00
fs_context.h cifs: sanitize paths in cifs_update_super_prepath. 2023-04-05 12:32:19 -05:00
fscache.c 46 fs/cifs (smb3 client) changesets, 37 in fs/cifs and 9 for related helper functions and cleanup outside from Dave Howells and Willy 2023-02-22 17:12:44 -08:00
fscache.h cifs: Change the I/O paths to use an iterator rather than a page list 2023-02-20 18:36:02 -06:00
inode.c 46 fs/cifs (smb3 client) changesets, 37 in fs/cifs and 9 for related helper functions and cleanup outside from Dave Howells and Willy 2023-02-22 17:12:44 -08:00
ioctl.c cifs: fix sharing of DFS connections 2023-05-04 16:54:44 -05:00
link.c cifs: append path to open_enter trace event 2023-03-24 09:02:26 -05:00
misc.c SMB3: Close deferred file handles in case of handle lease break 2023-04-27 11:03:33 -05:00
netlink.c
netlink.h
netmisc.c
nterr.c
nterr.h
ntlmssp.h cifs: Replace zero-length arrays with flexible-array members 2023-02-20 11:48:47 -06:00
readdir.c cifs: Replace remaining 1-element arrays 2023-02-20 11:48:48 -06:00
rfc1002pdu.h
sess.c cifs: fix potential use-after-free bugs in TCP_Server_Info::hostname 2023-05-02 09:41:09 -05:00
smb1ops.c cifs: Fix uninitialized memory reads for oparms.mode 2023-02-20 11:48:48 -06:00
smb2file.c 46 fs/cifs (smb3 client) changesets, 37 in fs/cifs and 9 for related helper functions and cleanup outside from Dave Howells and Willy 2023-02-22 17:12:44 -08:00
smb2glob.h
smb2inode.c cifs: append path to open_enter trace event 2023-03-24 09:02:26 -05:00
smb2maperror.c
smb2misc.c smb3: Replace smb2pdu 1-element arrays with flex-arrays 2023-02-20 17:25:43 -06:00
smb2ops.c cifs: fix pcchunk length type in smb2_copychunk_range 2023-05-08 12:00:47 -05:00
smb2pdu.c do not reuse connection if share marked as isolated 2023-05-08 12:00:47 -05:00
smb2pdu.h smb3: move some common open context structs to smbfs_common 2023-04-28 22:50:32 -05:00
smb2proto.h cifs: Parse owner/group for stat in smb311 posix extensions 2022-12-08 09:51:53 -06:00
smb2status.h
smb2transport.c cifs: avoid race conditions with parallel reconnects 2023-03-24 09:03:55 -05:00
smbdirect.c cifs: Fix an uninitialised variable 2023-03-01 18:17:36 -06:00
smbdirect.h cifs: Build the RDMA SGE list directly from an iterator 2023-02-20 18:36:02 -06:00
smbencrypt.c
smberr.h
trace.c
trace.h cifs: append path to open_enter trace event 2023-03-24 09:02:26 -05:00
transport.c cifs: Move the in_send statistic to __smb_send_rqst() 2023-03-05 17:50:38 -06:00
unc.c
winucase.c
xattr.c fs: drop unused posix acl handlers 2023-03-06 09:57:12 +01:00