summaryrefslogtreecommitdiff
path: root/fs/dax.c
diff options
context:
space:
mode:
authorNicolai Stange <nicstange@gmail.com>2016-05-06 02:43:04 (GMT)
committerTheodore Ts'o <tytso@mit.edu>2016-05-06 02:43:04 (GMT)
commit816cd71b0c723a7296d14aadb8ff1ba42f6181d2 (patch)
tree661cecb56cc3ef7e89fe458459cd8dc9aaa09853 /fs/dax.c
parent466c3fb618b8520b75be37fcb115e9610663b945 (diff)
downloadlinux-816cd71b0c723a7296d14aadb8ff1ba42f6181d2.tar.xz
ext4: remove unmeetable inconsisteny check from ext4_find_extent()
ext4_find_extent(), stripped down to the parts relevant to this patch, reads as ppos = 0; i = depth; while (i) { --i; ++ppos; if (unlikely(ppos > depth)) { ... ret = -EFSCORRUPTED; goto err; } } Due to the loop's bounds, the condition ppos > depth can never be met. Remove this dead code. Signed-off-by: Nicolai Stange <nicstange@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/dax.c')
0 files changed, 0 insertions, 0 deletions