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:

committed by
Trond Myklebust

parent
513d6d7a95
commit
8bb2897582
@@ -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,
|
||||
|
Reference in New Issue
Block a user