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
dir.c
file.c
inode.c fs/minix: set s_maxbytes correctly 2020-08-21 11:05:38 +02:00
itree_common.c
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
Makefile
minix.h fs/minix: set s_maxbytes correctly 2020-08-21 11:05:38 +02:00
namei.c