Whamcloud - gitweb
debugfs, libext2fs: minor fixups to xattr support
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 12 Mar 2014 03:49:13 +0000 (23:49 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 12 Mar 2014 03:49:16 +0000 (23:49 -0400)
commit2ddcee17711b37fe9fca7d2350f275789a014f86
tree674d4b250cb05c83eb6e239c9334b232d68eb199
parent3aec816ff62e49aa7d2ab67fa43fc837fc68d219
debugfs, libext2fs: minor fixups to xattr support

Add magic number checking to the extended attribute editing handle;
move inline data to the head of the attribute list when writing so
that inline data ends up in the inode area; and always zero the
attribute space before writing to ensure that we can delete the last
xattr.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/debugfs.c
lib/ext2fs/ext2_err.et.in
lib/ext2fs/ext2fs.h
lib/ext2fs/ext_attr.c