diff options
author | Christoph Hellwig <hch@lst.de> | 2020-11-23 13:44:44 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-01 22:53:39 +0100 |
commit | 7918f0f6fdafa1e52c2d77c537cb55ef25fb69a3 (patch) | |
tree | 34d1be96485377aab10698ba07ab5c0b06b2889e /drivers/block/loop.c | |
parent | block: move bdput() to the callers of __blkdev_get (diff) | |
download | linux-7918f0f6fdafa1e52c2d77c537cb55ef25fb69a3.tar.xz linux-7918f0f6fdafa1e52c2d77c537cb55ef25fb69a3.zip |
block: opencode devcgroup_inode_permission
Just call devcgroup_check_permission to avoid various superflous checks
and a double conversion of the access flags.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/loop.c')
0 files changed, 0 insertions, 0 deletions