From: Al Viro Date: Sun, 14 Dec 2025 08:17:33 +0000 (-0500) Subject: quotactl_block(): switch to CLASS(filename) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef7282e84934d54249abc745fc1cbc8b727a81cf;p=thirdparty%2Fkernel%2Flinux.git quotactl_block(): switch to CLASS(filename) Signed-off-by: Al Viro --- diff --git a/fs/quota/quota.c b/fs/quota/quota.c index 7c2b75a444852..ed906725e1832 100644 --- a/fs/quota/quota.c +++ b/fs/quota/quota.c @@ -867,7 +867,7 @@ static struct super_block *quotactl_block(const char __user *special, int cmd) { #ifdef CONFIG_BLOCK struct super_block *sb; - struct filename *tmp = getname(special); + CLASS(filename, tmp)(special); bool excl = false, thawed = false; int error; dev_t dev; @@ -875,7 +875,6 @@ static struct super_block *quotactl_block(const char __user *special, int cmd) if (IS_ERR(tmp)) return ERR_CAST(tmp); error = lookup_bdev(tmp->name, &dev); - putname(tmp); if (error) return ERR_PTR(error);