mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:44:45 +01:00
quotactl_block(): switch to CLASS(filename)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
57483461e1
commit
ef7282e849
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue