]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ioctl: Fix return type of several functions from long to int
authorYuichiro Tsuji <yuichtsu@amazon.com>
Tue, 21 Jan 2025 07:08:23 +0000 (16:08 +0900)
committerChristian Brauner <brauner@kernel.org>
Fri, 21 Feb 2025 09:25:32 +0000 (10:25 +0100)
commitf326565c44419380d18290edee5f78921418f7a5
tree08d63fe18574fb95ff4420feb4a74c3ae3de382f
parent29d80d506b18384f64a54b01fae78184e2d327f3
ioctl: Fix return type of several functions from long to int

Fix the return type of several functions from long to int to match its actu
al behavior. These functions only return int values. This change improves
type consistency across the filesystem code and aligns the function signatu
re with its existing implementation and usage.

Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Yuichiro Tsuji <yuichtsu@amazon.com>
Link: https://lore.kernel.org/r/20250121070844.4413-3-yuichtsu@amazon.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ioctl.c
include/linux/fs.h