]> www.infradead.org Git - users/hch/misc.git/commit
open: Fix return type of several functions from long to int
authorYuichiro Tsuji <yuichtsu@amazon.com>
Tue, 21 Jan 2025 07:08:22 +0000 (16:08 +0900)
committerChristian Brauner <brauner@kernel.org>
Fri, 21 Feb 2025 09:25:32 +0000 (10:25 +0100)
commit29d80d506b18384f64a54b01fae78184e2d327f3
tree186991711bfbe8845b85b917cbcb4febbda1bfe2
parentd6ff4c8f65220b20c550f12eb8921827c459600e
open: 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-2-yuichtsu@amazon.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/internal.h
fs/open.c
include/linux/fs.h
include/linux/syscalls.h