]> 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)
commit43d51496827bc33e0e88415b090d2c43e9ad0c24
tree38667a73ada5cd5780bf63fa6fe5575051b275ca
parentd5294eb6b85f6e8332e49c0c400283085878d05f
quota: Factor out setup of quota inode

[ Upstream commit b41af3870fa2666f6f481b051f60b8a8848661f0 ]

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: 69f788fb7804 ("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