DragonFly commits List (threaded) for 2012-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel -- ffs: Do not dereference NULL inodes in ffs_sync_scan1.
commit 609f61878d1378c3d04602cf1e581a6f57dfae47
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/609f61878d1378c3d04602cf1e581a6f57dfae47
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]