]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ffs_inotovp(): interface to convert (ino, gen) into alive vnode
authorKonstantin Belousov <kib@FreeBSD.org>
Tue, 26 Jan 2021 11:52:59 +0000 (13:52 +0200)
committerKonstantin Belousov <kib@FreeBSD.org>
Fri, 12 Feb 2021 01:02:20 +0000 (03:02 +0200)
commit5952c86c78b177b5e904bf139e6b56519897c7e0
treeb2e95ad0235abce010c22b1a67f6bafa2c9e9689
parentf16c26b1c009fd0d87d07d3b1cf0d5078ad7f511
ffs_inotovp(): interface to convert (ino, gen) into alive vnode

It generalizes the VFS_FHTOVP() interface, making it possible to fetch
the inode without faking filehandle.  Also it adds the ffs flags argument
which allows to control ffs_vgetf() call.

Requested by: mckusick
Reviewed by: chs, mckusick
Tested by: pho
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
sys/ufs/ffs/ffs_extern.h
sys/ufs/ffs/ffs_vfsops.c
sys/ufs/ufs/ufs_extern.h
sys/ufs/ufs/ufs_vfsops.c