majianpeng writes:
> When remove gendisk, set the size of inode of block_device to zero.
> This is mainly let the vfs know disk removed.
>
> Signed-off-by: Jianpeng Ma
Reviewed-by: Jeff Moyer
> ---
> block/genhd.c | 6 ++
> 1 file changed, 6 insertions(+)
>
> diff --git a/block/genhd.c b/
When remove gendisk, set the size of inode of block_device to zero.
This is mainly let the vfs know disk removed.
Signed-off-by: Jianpeng Ma
---
block/genhd.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/block/genhd.c b/block/genhd.c
index dadf42b..9a4c245 100644
--- a/block/genhd.c
2 matches
Mail list logo