NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/55146 (100+ file system test cases failing)



The following reply was made to PR kern/55146; it has been noted by GNATS.

From: "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/55146 (100+ file system test cases failing)
Date: Tue, 7 Apr 2020 13:50:25 +0200

 --Apple-Mail=_9AF0EA27-EB4D-4201-94CA-D39FE9422DE9
 Content-Type: multipart/mixed;
 	boundary="Apple-Mail=_AC7D3654-3FD4-448E-9BE4-D9C4EE10CB78"
 
 
 --Apple-Mail=_AC7D3654-3FD4-448E-9BE4-D9C4EE10CB78
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 With the attached diff all tests from /usr/tests/fs pass.
 
 --
 J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig
 
 --Apple-Mail=_AC7D3654-3FD4-448E-9BE4-D9C4EE10CB78
 Content-Disposition: attachment;
 	filename=002_lookup.diff
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="002_lookup.diff"
 Content-Transfer-Encoding: 7bit
 
 lookup
 
 Set foundobj also if != VDIR.
 
 diff -r 0d0a431c8f29 -r 421f8544b9d7 sys/kern/vfs_lookup.c
 --- sys/kern/vfs_lookup.c
 +++ sys/kern/vfs_lookup.c
 @@ -1005,11 +1005,12 @@ lookup_crossmount(struct namei_state *st
  		} else if (foundobj->v_type == VDIR) {
  			vrele(searchdir);
  			*searchdir_ret = searchdir = NULL;
 -			*foundobj_ret = foundobj;
  			lktype = LK_NONE;
  		}
  	}
  
 +	*foundobj_ret = foundobj;
 +
  	/* If searchdir is still around, re-lock it. */
   	if (error == 0 && lktype != LK_NONE) {
  		vn_lock(searchdir, lktype | LK_RETRY);
 
 --Apple-Mail=_AC7D3654-3FD4-448E-9BE4-D9C4EE10CB78--
 
 --Apple-Mail=_9AF0EA27-EB4D-4201-94CA-D39FE9422DE9
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP
 
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAEBCAAdFiEE2BL3ha7Xao4WUZVYKoaVJdNr+uEFAl6MaQEACgkQKoaVJdNr
 +uEc2wf9FeA1zk/mBjlXgCYIm7XEV8x7nnFAaaIe9pISoPnZ7ELwGDgL8P6ggJ5c
 80M3csj8pC56EDClmuJx0DjoeUXc8JI3WpI3lMLKignFHcEvpIZKiCDkhYFeAu4p
 XuTIpQN65dd04dwNj2yreo7gnQGWghLyg57UZwAHJsMKRD/G+Dl+xnQ61dPwj2iQ
 /JE03C9f0jJM84B2OCtmF0A57jNMsCmPHGAbT283p2UCUX5Nyg6mkepkU18tat8U
 WLfjoshoJosc0oIELjma59wUnr2/8cRJ5jCXwQTLs9BldXK1xnYxBcK79Xvlz9L0
 GpEXnxu+MZ63baZfyOHFKMMo7O+GFA==
 =Q6gs
 -----END PGP SIGNATURE-----
 
 --Apple-Mail=_9AF0EA27-EB4D-4201-94CA-D39FE9422DE9--
 


Home | Main Index | Thread Index | Old Index