diff options
| author | Christian Brauner <[email protected]> | 2024-01-23 14:26:44 +0100 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-02-25 12:05:27 +0100 |
| commit | e97d06a46526d9392cbdbd7eda193091e1af2723 (patch) | |
| tree | 715518cfe50bcbf01d7d14d688fef4e32bcbb6ed /include/linux | |
| parent | 9de31ee6d7a8be42d9984bd5cff66bcd7c259a7a (diff) | |
bdev: remove bdev_open_by_path()
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/blkdev.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 76706aa47316..5880d5abfebe 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -1484,8 +1484,6 @@ struct bdev_handle { struct bdev_handle *bdev_open_by_dev(dev_t dev, blk_mode_t mode, void *holder, const struct blk_holder_ops *hops); -struct bdev_handle *bdev_open_by_path(const char *path, blk_mode_t mode, - void *holder, const struct blk_holder_ops *hops); struct file *bdev_file_open_by_dev(dev_t dev, blk_mode_t mode, void *holder, const struct blk_holder_ops *hops); struct file *bdev_file_open_by_path(const char *path, blk_mode_t mode, |