diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-02-01 01:23:55 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-02-23 16:25:29 +0100 |
commit | 6f24784f00f2b5862b367caeecc5cca22a77faa3 (patch) | |
tree | bcbdc0d7f18f5036f360bb61cc0c9447a25f348c /drivers/s390/char/vmur.c | |
parent | 9p: fix misuse of sscanf() in v9fs_stat2inode() (diff) | |
download | linux-6f24784f00f2b5862b367caeecc5cca22a77faa3.tar.xz linux-6f24784f00f2b5862b367caeecc5cca22a77faa3.zip |
whack-a-mole: don't open-code iminor/imajor
several instances creeped back into the tree...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/s390/char/vmur.c')
-rw-r--r-- | drivers/s390/char/vmur.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/vmur.c b/drivers/s390/char/vmur.c index 1bbf27b98cf6..68f49e2e964c 100644 --- a/drivers/s390/char/vmur.c +++ b/drivers/s390/char/vmur.c @@ -681,7 +681,7 @@ static int ur_open(struct inode *inode, struct file *file) * We treat the minor number as the devno of the ur device * to find in the driver tree. */ - devno = MINOR(file_inode(file)->i_rdev); + devno = iminor(file_inode(file)); urd = urdev_get_from_devno(devno); if (!urd) { |