nfs/blocklayout: Make sure calculate signature length aligned
authorKinglong Mee <kinglongmee@gmail.com>
Thu, 14 Jul 2016 04:01:28 +0000 (12:01 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 15 Jul 2016 19:51:11 +0000 (15:51 -0400)
commitecc2b88c4a48cbabb3ed7617f55e92c123fb634b
treeb0ebecefe6cbb8a899fb60a87d06c1880dcf914b
parent11487ddbdb12c36e094bedcc5c906ff219905a03
nfs/blocklayout: Make sure calculate signature length aligned

Avoid a bad nfs server return an unaligned length of signature.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/blocklayout/dev.c