commit | 29662fa646b41492a9c298a83399126f94847e93 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Aug 17 18:40:57 2015 +0200 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Mon Aug 17 13:22:49 2015 -0500 |
tree | 3c8331d92a6c015c71eff84c92d10b0ada441b5a | |
parent | 18e3b739fdc826481c6a1335ce0c5b19b3d415da [diff] |
pnfs/blocklayout: calculate layoutupdate size correctly We need to include the first u32 for the number of entries. Add a helper for the calculation instead of opencoding it so that it's in one place. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>