diff options
author | Jean-Christophe DUBOIS <jcd@tribudubois.net> | 2012-05-10 17:14:03 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-05-14 06:32:36 +0200 |
commit | 8c5a0366403f5dbca9d4ccf50f95bafbaddc2844 (patch) | |
tree | 6955c7e9b1520ab89dc26f62fc9e11997c31078c /fs/ntfs/attrib.c | |
parent | jffs2: allow to discriminate between recoverable and non-recoverable errors (diff) | |
download | linux-8c5a0366403f5dbca9d4ccf50f95bafbaddc2844.tar.xz linux-8c5a0366403f5dbca9d4ccf50f95bafbaddc2844.zip |
jffs2: allow to complete xattr integrity check on first GC scan
Unlike file data integrity the xattr data integrity was not checked
before some explicit access to the attribute was made.
This could leave in the system a number of corrupted extended attributes
which will be detected only at access time and possibly at a very late
time compared to the time the corruption actually happened.
This patch adds the ability to check for extended attribute integrity
on first GC scan pass (similar to file data integrity check). This allows
for all present attributes to be completly verified before any use of them.
In order to work correctly this patch also needs the patch allowing
JFFS2 to discriminate between recoverable and non recoverable errors
on extended attributes.
Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/ntfs/attrib.c')
0 files changed, 0 insertions, 0 deletions