projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae22076
)
block: rename blkdev_close to blkdev_release
author
Christoph Hellwig
<hch@lst.de>
Thu, 8 Jun 2023 11:02:38 +0000
(13:02 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 12 Jun 2023 14:04:04 +0000
(08:04 -0600)
Make the function name match the method name.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Christian Brauner <brauner@kernel.org>
Link:
https://lore.kernel.org/r/20230608110258.189493-11-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/fops.c
patch
|
blob
|
history
diff --git
a/block/fops.c
b/block/fops.c
index
6a3087b
..
26af2b3
100644
(file)
--- a/
block/fops.c
+++ b/
block/fops.c
@@
-500,7
+500,7
@@
static int blkdev_open(struct inode *inode, struct file *filp)
return 0;
}
-static int blkdev_
clo
se(struct inode *inode, struct file *filp)
+static int blkdev_
relea
se(struct inode *inode, struct file *filp)
{
struct block_device *bdev = filp->private_data;
@@
-677,7
+677,7
@@
static long blkdev_fallocate(struct file *file, int mode, loff_t start,
const struct file_operations def_blk_fops = {
.open = blkdev_open,
- .release = blkdev_
clo
se,
+ .release = blkdev_
relea
se,
.llseek = blkdev_llseek,
.read_iter = blkdev_read_iter,
.write_iter = blkdev_write_iter,