]> git.baikalelectronics.ru Git - kernel.git/commit
quota: Factor out setup of quota inode
authorJan Kara <jack@suse.cz>
Fri, 1 Nov 2019 16:45:31 +0000 (17:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:42:02 +0000 (11:42 +0100)
commit2acb7b235c266459e1e84cf984b6ce67d461feae
tree38667a73ada5cd5780bf63fa6fe5575051b275ca
parent222c76c8951ffc9077bb7f3624f9f56a1f7403d9
quota: Factor out setup of quota inode

[ Upstream commit 954472b900cc6eb2d86a5b81bc0ff7cf32513694 ]

Factor out setting up of quota inode and eventual error cleanup from
vfs_load_quota_inode(). This will simplify situation for filesystems
that don't have any quota inodes.

Signed-off-by: Jan Kara <jack@suse.cz>
Stable-dep-of: d32387748476 ("ext4: fix bug_on in __es_tree_search caused by bad quota inode")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/quota/dquot.c
include/linux/quotaops.h