[PATCH] v2 xfsprogs: fix inode crash in xfs_repair
Rich Johnston
rjohnston at sgi.com
Mon Aug 19 11:06:36 CDT 2013
Thanks for the patch Mark, it has been committed.
--Rich
commit 3ac87fbf6ac29494dc46134323733551aac1737c
Author: Mark Tinguely <tinguely at sgi.com>
Date: Fri Aug 16 18:12:43 2013 +0000
xfsprogs: fix inode crash in xfs_repair
Adding the lost+found in phase 6 could allocate an inode from
a new inode chunk. Since this chunk was not around in phase 3
when the inode chunks are verificated and added to the avl tree,
the avl tree look up will return a NULL pointer. This results
in a NULL defererence and segmentation fault.
Add the newly created inode chunk as if found in the chunk
verification phase.
Signed-off-by: Mark Tinguely <tinguely at sgi.com>
Reviewed-by: Rich Johnston <rjohnston at sgi.com>
Signed-off-by: Rich Johnston <rjohnston at sgi.com>
More information about the xfs
mailing list