WSL2-Linux-Kernel/fs/afs
David Howells 40fc81027f afs: Fix afs_d_validate() to set the right directory version
If a dentry's version is somewhere between invalid_before and the current
directory version, we should be setting it forward to the current version,
not backwards to the invalid_before version.  Note that we're only doing
this at all because dentry::d_fsdata isn't large enough on a 32-bit system.

Fix this by using a separate variable for invalid_before so that we don't
accidentally clobber the current dir version.

Fixes: a4ff7401fb ("afs: Keep track of invalid-before version for dentry coherency")
Signed-off-by: David Howells <dhowells@redhat.com>
2020-04-13 15:09:01 +01:00
..
Kconfig
Makefile
addr_list.c afs: Use kfree_rcu() instead of casting kfree() to rcu_callback_t 2020-03-13 10:47:33 -07:00
afs.h
afs_cm.h
afs_fs.h
afs_vl.h
cache.c
callback.c
cell.c afs: Fix characters allowed into cell names 2020-01-26 08:54:04 -08:00
cmservice.c afs: Fix handling of an abort from a service handler 2020-03-13 23:04:35 +00:00
dir.c afs: Fix afs_d_validate() to set the right directory version 2020-04-13 15:09:01 +01:00
dir_edit.c
dir_silly.c afs: Fix race between post-modification dir edit and readdir/d_revalidate 2020-04-13 15:09:01 +01:00
dynroot.c afs: Fix creation calls in the dynamic root to fail with EOPNOTSUPP 2019-12-11 17:47:51 +00:00
file.c
flock.c
fs_probe.c afs: Fix unpinned address list during probing 2020-03-26 16:04:29 -07:00
fsclient.c afs: Fix rename operation status delivery 2020-04-13 15:09:01 +01:00
inode.c
internal.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-03-25 13:58:05 -07:00
main.c
misc.c
mntpt.c afs: Fix mountpoint parsing 2019-12-11 16:56:54 +00:00
proc.c afs: Show volume name in /proc/net/afs/<cell>/volumes 2019-12-11 17:48:20 +00:00
protocol_uae.h
protocol_yfs.h
rotate.c
rxrpc.c afs: Fix client call Rx-phase signal handling 2020-03-13 23:04:35 +00:00
security.c
server.c afs: Fix afs_find_server lookups for ipv4 peers 2019-12-09 15:04:43 +00:00
server_list.c
super.c fs_parse: fold fs_parameter_desc/fs_parameter_spec 2020-02-07 14:48:37 -05:00
vl_list.c
vl_probe.c
vl_rotate.c
vlclient.c
volume.c
write.c
xattr.c
xdr_fs.h
yfsclient.c afs: Fix length of dump of bad YFSFetchStatus record 2020-04-13 15:09:01 +01:00