pnfs: move common blocklayout XDR defintions to nfs4.h

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
This commit is contained in:
Christoph Hellwig
2015-08-17 18:41:01 +02:00
committed by Trond Myklebust
parent 513d6d7a95
commit 8bb2897582
5 changed files with 21 additions and 35 deletions

View File

@@ -465,7 +465,7 @@ out:
static size_t ext_tree_layoutupdate_size(size_t count)
{
return sizeof(__be32) /* number of entries */ +
BL_EXTENT_SIZE * count;
PNFS_BLOCK_EXTENT_SIZE * count;
}
static void ext_tree_free_commitdata(struct nfs4_layoutcommit_args *arg,