]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfsprogs: Add verifiers to libxfs buffer interfaces.
authorDave Chinner <dchinner@redhat.com>
Fri, 7 Jun 2013 00:25:45 +0000 (10:25 +1000)
committerBen Myers <bpm@sgi.com>
Tue, 6 Aug 2013 19:31:39 +0000 (14:31 -0500)
commit75c8b4343abb5f048fe438cde1f02e681b9796d4
tree4df808245674d4f6d69382550ed8150dd03e6590
parent6567f1f945832ad0250dc38bb9019768bbab6355
xfsprogs: Add verifiers to libxfs buffer interfaces.

Verifiers need to be used everywhere to enable calculation of CRCs
during writeback of modified metadata. Add then to the libxfs buffer
interfaces conver the internal use of devices to be buftarg aware.

Verifiers also require that the buffer has a back pointer to the
struct xfs_mount. To make this source level comaptible between
kernel and userspace, convert userspace to pass struct xfs_buftargs
around rather than a "device".

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
25 files changed:
copy/xfs_copy.c
db/sb.c
include/libxfs.h
include/libxlog.h
include/xfs_dir2.h
libxfs/init.c
libxfs/logitem.c
libxfs/rdwr.c
libxfs/trans.c
libxfs/xfs.h
libxfs/xfs_dir2_priv.h
logprint/logprint.c
mkfs/proto.c
mkfs/xfs_mkfs.c
repair/attr_repair.c
repair/dino_chunks.c
repair/dinode.c
repair/dir2.c
repair/phase2.c
repair/phase3.c
repair/phase6.c
repair/prefetch.c
repair/rt.c
repair/scan.c
repair/xfs_repair.c