Skip to content
Commit 0d997f1d authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

block: remove the call to file_remove_privs in blkdev_write_iter



file_remove_privs instantly returns 0 when not called for regular files,
so don't bother.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarJohannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20230831121911.280155-1-hch@lst.de
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent eead0056
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment