]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e839d17bd20b16112f834a35e9dee0e72d2bf47
tree6e4eb879ef909cca0aa2f7507a0592869dcde631
parent6b634544e2f53ae4929aa5f1ee4e7caaec89f0a5
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