git: kernel -- ffs: Do not dereference NULL inodes in ffs_sync_scan1.
Venkatesh Srinivas
vsrinivas at crater.dragonflybsd.org
Thu Mar 29 23:39:02 PDT 2012
commit 609f61878d1378c3d04602cf1e581a6f57dfae47
Author: Venkatesh Srinivas <me at 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
More information about the Commits
mailing list