mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	FreeBSD: add missing vn state transition for .zfs
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com> Closes #14774
This commit is contained in:
		
							parent
							
								
									aef1324d59
								
							
						
					
					
						commit
						092021ba39
					
				| @ -204,6 +204,10 @@ sfs_vgetx(struct mount *mp, int flags, uint64_t parent_id, uint64_t id, | |||||||
| 		return (error); | 		return (error); | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  | #if __FreeBSD_version >= 1400077 | ||||||
|  | 	vn_set_state(vp, VSTATE_CONSTRUCTED); | ||||||
|  | #endif | ||||||
|  | 
 | ||||||
| 	*vpp = vp; | 	*vpp = vp; | ||||||
| 	return (0); | 	return (0); | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Mateusz Guzik
						Mateusz Guzik