summaryrefslogtreecommitdiffstats
path: root/fs/dax.c
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2017-02-23 00:46:51 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-23 01:41:31 +0100
commitf201ebd87652cf1519792f8662bb3f862c76aa33 (patch)
tree3dfc4774407bcc51d5cb91066af04cdc7eb8d3b8 /fs/dax.c
parentmm: fix <linux/pagemap.h> stray kernel-doc notation (diff)
downloadlinux-f201ebd87652cf1519792f8662bb3f862c76aa33.tar.xz
linux-f201ebd87652cf1519792f8662bb3f862c76aa33.zip
mm/z3fold.c: limit first_num to the actual range of possible buddy indexes
At present, Tying the first_num size to NCHUNKS_ORDER is confusing. the number of chunks is completely unrelated to the number of buddies. The patch limits the first_num to actual range of possible buddy indexes. and that is more reasonable and obvious without functional change. Link: http://lkml.kernel.org/r/1476776569-29504-1-git-send-email-zhongjiang@huawei.com Signed-off-by: zhong jiang <zhongjiang@huawei.com> Suggested-by: Dan Streetman <ddstreet@ieee.org> Acked-by: Dan Streetman <ddstreet@ieee.org> Acked-by: Vitaly Wool <vitalywool@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/dax.c')
0 files changed, 0 insertions, 0 deletions