nfsd/blocklayout: Make sure calculate signature/designator length aligned
authorKinglong Mee <kinglongmee@gmail.com>
Thu, 14 Jul 2016 04:01:17 +0000 (12:01 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 15 Jul 2016 19:31:30 +0000 (15:31 -0400)
commitdd51db188600c8c54c46cff84e83358ece8ccb4d
tree6e4eb879ef909cca0aa2f7507a0592869dcde631
parent15d66ac20927e00ac0e65af6707eff60b92e61b8
nfsd/blocklayout: Make sure calculate signature/designator length aligned

These values are all multiples of 4 already, so there's no change in
behavior from this patch.  But perhaps this will prevent mistakes in the
future.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/blocklayoutxdr.c