fs/affs: add validation block function
authorFabian Frederick <fabf@skynet.be>
Mon, 27 Feb 2017 22:27:46 +0000 (14:27 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Feb 2017 02:43:45 +0000 (18:43 -0800)
commitd5de9fd594eba1b94f0ef701c044f567f605bc9e
treeeb91da14539f2052d6a709e1517fd4d5b567728e
parent7981a05a0edecab540611785063a8facafd2b46d
fs/affs: add validation block function

Avoid repeating 4 times the same calculation.

Link: http://lkml.kernel.org/r/20170109191208.6085-3-fabf@skynet.be
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/affs/affs.h