]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
db: add a special attribute buffer verifier
authorDave Chinner <dchinner@redhat.com>
Wed, 13 Nov 2013 06:40:50 +0000 (06:40 +0000)
committerRich Johnston <rjohnston@sgi.com>
Wed, 13 Nov 2013 17:14:04 +0000 (11:14 -0600)
commit2847273f74b3b14ba3cb9ab876b910da12ed2dbe
treef2a4c4e80cae0655d8d3bb59150b122d52559a65
parentfc068a1902148eaaad7a7e5e9972155dd68a647c
db: add a special attribute buffer verifier

Because we only have a single attribute type that is used for all
the attribute buffer types, we need to provide a special verifier
for the read code. That verifier needs to know all the attribute
types and when it find one it knows about, switch to the correct
verifier and call it.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
db/attr.c
db/attr.h
db/type.c