kernel-fxtec-pro1x/fs/minix
Eric Biggers 9f3fb90d30 fs/minix: remove expected error message in block_to_path()
[ Upstream commit f666f9fb9a36f1c833b9d18923572f0e4d304754 ]

When truncating a file to a size within the last allowed logical block,
block_to_path() is called with the *next* block.  This exceeds the limit,
causing the "block %ld too big" error message to be printed.

This case isn't actually an error; there are just no more blocks past that
point.  So, remove this error message.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Qiujun Huang <anenbupt@gmail.com>
Link: http://lkml.kernel.org/r/20200628060846.682158-7-ebiggers@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-21 11:05:38 +02:00
..
bitmap.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dir.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
file.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
inode.c fs/minix: set s_maxbytes correctly 2020-08-21 11:05:38 +02:00
itree_common.c fs/minix: check return value of sb_getblk() 2020-08-19 08:15:05 +02:00
itree_v1.c fs/minix: remove expected error message in block_to_path() 2020-08-21 11:05:38 +02:00
itree_v2.c fs/minix: remove expected error message in block_to_path() 2020-08-21 11:05:38 +02:00
Kconfig treewide: simplify Kconfig dependencies for removed archs 2018-03-26 15:55:57 +02:00
Makefile
minix.h fs/minix: set s_maxbytes correctly 2020-08-21 11:05:38 +02:00
namei.c minix_lookup: use d_splice_alias() 2018-05-22 14:27:52 -04:00