The fuse_valid_size() introduced in commit 05d4152f68bd ("fuse: implement statx") is only used in dir.c now, change it to static. Fixes: 05d4152f68bd ("fuse: implement statx") Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx> --- fs/fuse/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index fb505c1fba02..0cf7c3dbd578 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c @@ -350,7 +350,7 @@ int fuse_valid_type(int m) S_ISBLK(m) || S_ISFIFO(m) || S_ISSOCK(m); } -bool fuse_valid_size(u64 size) +static bool fuse_valid_size(u64 size) { return size <= LLONG_MAX; } -- 2.25.1