DragonFly commits List (threaded) for 2012-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: DragonFly_RELEASE_3_0 kernel -- ffs: Do not dereference NULL inodes in ffs_sync_scan1.
commit ec1ca5aa2ac5e7b271523073740017bebe6f95bc
Author: Venkatesh Srinivas <me@endeavour.zapto.org>
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]