summaryrefslogtreecommitdiffstats
path: root/fs/nfs/blocklayout/extent_tree.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-08-17 18:41:01 +0200
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-08-17 20:22:49 +0200
commit8bb28975823aee062f82b99ddacc499601c0cfd1 (patch)
tree8124e5dad734c9981f96eeb76bf6a05e04ee85ab /fs/nfs/blocklayout/extent_tree.c
parentpnfs/blocklayout: pass proper file mode to blkdev_get/put (diff)
downloadlinux-8bb28975823aee062f82b99ddacc499601c0cfd1.tar.xz
linux-8bb28975823aee062f82b99ddacc499601c0cfd1.zip
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>
Diffstat (limited to 'fs/nfs/blocklayout/extent_tree.c')
-rw-r--r--fs/nfs/blocklayout/extent_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/blocklayout/extent_tree.c b/fs/nfs/blocklayout/extent_tree.c
index a11b759d294a..c59a59c37f3d 100644
--- a/fs/nfs/blocklayout/extent_tree.c
+++ b/fs/nfs/blocklayout/extent_tree.c
@@ -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,