commit ec1ca5aa2ac5e7b271523073740017bebe6f95bc
Author: Venkatesh Srinivas <[email protected]>
Date: Thu Mar 29 23:33:08 2012 -0700
kernel -- ffs: Do not dereference NULL inodes in ffs_sync_scan1.
ffs_sync_scan1 is a fast callback from vmntvnodescan; it is not called
with vnodes locked. It is possible for an ffs_reclaim to have reclaimed
the vnode in question, NULL-ing out ip, without having removed the vnode
from the per-mount list. If we see a NULL inode, return failure from the
fast callback.
Summary of changes:
sys/vfs/ufs/ffs_vfsops.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ec1ca5aa2ac5e7b271523073740017bebe6f95bc
--
DragonFly BSD source repository