]> git.baikalelectronics.ru Git - kernel.git/commit
fs: clean up after mandatory file locking support removal
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Tue, 24 Aug 2021 11:12:59 +0000 (13:12 +0200)
committerJeff Layton <jlayton@kernel.org>
Tue, 24 Aug 2021 11:52:45 +0000 (07:52 -0400)
commit5bcd214b5967089d50abffe5690bd743eb2fa2c5
treef346f4ccd3c06204147845f4a54c5127507dc967
parent0612b9fb7506fae05730b4d0a66675396ad3b611
fs: clean up after mandatory file locking support removal

Commit 3efee0567b4a ("fs: remove mandatory file locking support") removes
some operations in functions rw_verify_area().

As these functions are now simplified, do some syntactic clean-up as
follow-up to the removal as well, which was pointed out by compiler
warnings and static analysis.

No functional change.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
fs/read_write.c