On Fri, Sep 06, 2013 at 09:26:19AM -0400, Josef Bacik wrote:
@@ -93,6 +95,9 @@ static void print_usage(void)
fprintf(stderr, \t-b Number of bytes to be corrupted\n);
fprintf(stderr, \t-e Extent to be corrupted\n);
fprintf(stderr, \t-E The whole extent free to be corrupted\n);
A user reported a problem with his fs where he had a bogus isize on his
directory. In order to make sure my patch for fsck fixes this properly I needed
to be able to corrupt an inode like this, which is what this patch is for.
Eventually I want to extend this to corrupt everything so we can
On Mon, Aug 19, 2013 at 11:48:32AM -0400, Josef Bacik wrote:
@@ -344,10 +442,12 @@ int main(int ac, char **av)
ac = ac - optind;
if (ac == 0)
print_usage();
- if (logical == 0 !extent_tree)
+ if (logical == 0 (!extent_tree !inode))
There's a conflict
A user reported a problem with his fs where he had a bogus isize on his
directory. In order to make sure my patch for fsck fixes this properly I needed
to be able to corrupt an inode like this, which is what this patch is for.
Eventually I want to extend this to corrupt everything so we can