diff options
author | mckusick <mckusick@FreeBSD.org> | 2001-02-22 10:17:57 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2001-02-22 10:17:57 +0000 |
commit | b6410fb7dc7602d472c0f7b1cc48f6f583920305 (patch) | |
tree | 85a575b4d0a879fc80f539fc93adca7ea4202b67 /sys/ufs | |
parent | 8ade3c07b970656888570f03440a4eab1d50ab65 (diff) | |
download | FreeBSD-src-b6410fb7dc7602d472c0f7b1cc48f6f583920305.zip FreeBSD-src-b6410fb7dc7602d472c0f7b1cc48f6f583920305.tar.gz |
When cleaning up excess inode dependencies, check for being done.
Reviewed by: Jan Koum <jkb@yahoo-inc.com>
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_softdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 972121e..cbd426c 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -4592,6 +4592,8 @@ clear_inodedeps(p) if ((inodedep = LIST_FIRST(inodedephd)) != NULL) break; } + if (inodedep == NULL) + return; /* * Ugly code to find mount point given pointer to superblock. */ |