Whamcloud - gitweb
Remove check in e2fsck which requires EA's in inodes to be sorted
authorKalpak Shah <kalpak@clusterfs.com>
Tue, 8 May 2007 05:07:30 +0000 (01:07 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 8 May 2007 05:07:30 +0000 (01:07 -0400)
commit1a8c2c4a89d380db07e9e95c49fdd8b46d893417
tree9120a7ecd76b71aaf4a332974193ccdf53de6f50
parent6809bb74914ba3666bd103c625cdc236389057bb
Remove check in e2fsck which requires EA's in inodes to be sorted

This patch removes a code snippet from check_ea_in_inode() in pass1 which checks
if the EA values in the inode are sorted or not. The comments in fs/ext*/xattr.c
state that the EA values in the external EA block are sorted but those in the
inode need not be sorted. I have also attached a test image which has unsorted
EAs in the inodes. The current e2fsck wrongly clears the EAs in the inode.

Signed-off-by: Kalpak Shah <kalpak@clusterfs.com>
e2fsck/ChangeLog
e2fsck/pass1.c