diff options
author | Eric Sandeen <sandeen@redhat.com> | 2016-12-09 16:49:47 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-12-09 16:49:47 +1100 |
commit | 2e1d23370e75d7d89350d41b4ab58c7f6a0e26b2 (patch) | |
tree | b1cbc57ba436ab8457c8603c90ac6092ead1b194 /fs/xfs/xfs_file.c | |
parent | acdda3aae146d9b69d30e9d8a32a8d8937055523 (diff) |
xfs: ignore leaf attr ichdr.count in verifier during log replay
When we create a new attribute, we first create a shortform
attribute, and try to fit the new attribute into it.
If that fails, we copy the (empty) attribute into a leaf attribute,
and do the copy again. Thus there can be a transient state where
we have an empty leaf attribute.
If we encounter this during log replay, the verifier will fail.
So add a test to ignore this part of the leaf attr verification
during log replay.
Thanks as usual to dchinner for spotting the problem.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_file.c')
0 files changed, 0 insertions, 0 deletions