Skip to content
Commit 71480663 authored by Carlos Maiolino's avatar Carlos Maiolino Committed by Christian Brauner
Browse files

shmem: make shmem_get_inode() return ERR_PTR instead of NULL



Make shmem_get_inode() return ERR_PTR instead of NULL on error. This will be
useful later when we introduce quota support.

There should be no functional change.

Signed-off-by: default avatarLukas Czerner <lczerner@redhat.com>
Signed-off-by: default avatarCarlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Message-Id: <20230725144510.253763-3-cem@kernel.org>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent c7e263ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment