]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Ignore doomed vnodes in tmpfs_update_mtime().
authorkib <kib@FreeBSD.org>
Fri, 12 Apr 2019 17:11:50 +0000 (17:11 +0000)
committerkib <kib@FreeBSD.org>
Fri, 12 Apr 2019 17:11:50 +0000 (17:11 +0000)
commit333f08f7aab285cc012e5f4989ba34cd6aa0a2c6
tree3c124464304b71832d67624421a70388ce45243b
parent15e5c29caee0f1bb57e8584d760d35173b9dc6d2
Ignore doomed vnodes in tmpfs_update_mtime().

Otherwise we might dereference NULL vp->v_data after
VP_TO_TMPFS_NODE().

Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
sys/fs/tmpfs/tmpfs_vfsops.c