The patch titled Subject: nilfs2-add-bmap-function-to-seek-a-valid-key-fix has been added to the -mm tree. Its filename is nilfs2-add-bmap-function-to-seek-a-valid-key-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/nilfs2-add-bmap-function-to-seek-a-valid-key-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/nilfs2-add-bmap-function-to-seek-a-valid-key-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Ryusuke Konishi <konishi.ryusuke@xxxxxxxxxxxxx> Subject: nilfs2-add-bmap-function-to-seek-a-valid-key-fix I've got a report from Dan Carpenter that this range check causes a warning: fs/nilfs2/btree.c:1611 nilfs_btree_seek_key() warn: impossible condition '(start > (~0)) => (0-u64max > u64max)' A range check was needed there in a wip patch, but we no longer need it. Cc: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/nilfs2/btree.c | 3 --- 1 file changed, 3 deletions(-) diff -puN fs/nilfs2/btree.c~nilfs2-add-bmap-function-to-seek-a-valid-key-fix fs/nilfs2/btree.c --- a/fs/nilfs2/btree.c~nilfs2-add-bmap-function-to-seek-a-valid-key-fix +++ a/fs/nilfs2/btree.c @@ -1608,9 +1608,6 @@ static int nilfs_btree_seek_key(const st const int minlevel = NILFS_BTREE_LEVEL_NODE_MIN; int ret; - if (start > NILFS_BTREE_KEY_MAX) - return -ENOENT; - path = nilfs_btree_alloc_path(); if (!path) return -ENOMEM; _ Patches currently in -mm which might be from konishi.ryusuke@xxxxxxxxxxxxx are nilfs2-do-not-use-async-write-flag-for-segment-summary-buffers.patch nilfs2-use-set_mask_bits-for-operations-on-buffer-state-bitmap.patch nilfs2-use-bgl_lock_ptr.patch nilfs2-unify-type-of-key-arguments-in-bmap-interface.patch nilfs2-add-bmap-function-to-seek-a-valid-key.patch nilfs2-add-bmap-function-to-seek-a-valid-key-fix.patch nilfs2-add-helper-to-find-existent-block-on-metadata-file.patch nilfs2-improve-execution-time-of-nilfs_ioctl_get_cpinfo-ioctl.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html