Commit 9bd5455
Trond Myklebust
NFS: Initialise verifiers for visible dentries in readdir and lookup
Ensure that the verifiers are initialised before calling
d_splice_alias() in both nfs_prime_dcache() and nfs_lookup().
Reported-by: Michael Stoler <michael.stoler@vastdata.com>
Fixes: a1147b8 ("NFS: Fix up directory verifier races")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>1 parent bd4928e commit 9bd5455
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
789 | 789 | | |
790 | 790 | | |
791 | 791 | | |
| 792 | + | |
792 | 793 | | |
793 | 794 | | |
794 | 795 | | |
795 | 796 | | |
796 | 797 | | |
797 | 798 | | |
| 799 | + | |
798 | 800 | | |
799 | 801 | | |
800 | 802 | | |
801 | | - | |
802 | 803 | | |
803 | 804 | | |
804 | 805 | | |
| |||
1994 | 1995 | | |
1995 | 1996 | | |
1996 | 1997 | | |
| 1998 | + | |
1997 | 1999 | | |
1998 | 2000 | | |
1999 | 2001 | | |
2000 | 2002 | | |
| 2003 | + | |
2001 | 2004 | | |
2002 | 2005 | | |
2003 | | - | |
2004 | 2006 | | |
2005 | 2007 | | |
2006 | 2008 | | |
| |||
0 commit comments