diff options
author | Indraneel M <indraneel.m@samsung.com> | 2014-12-11 08:24:18 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-12-11 08:24:18 -0700 |
commit | 285dffc9101244ac65c29672a1fb3fe614b52238 (patch) | |
tree | 1220bf2e24fe8aa514bb1d6ee68b785e31e2da6b /drivers/block/paride | |
parent | d8ead9b763cab553f82a6f16015d3ace5f9c6653 (diff) | |
download | linux-rt-285dffc9101244ac65c29672a1fb3fe614b52238.tar.gz |
NVMe: Fix FS mount issue (hot-remove followed by hot-add)
After Hot-remove of a device with a mounted partition,
when the device is hot-added again, the new node reappears
as nvme0n1. Mounting this new node fails with the error:
mount: mount /dev/nvme0n1p1 on /mnt failed: File exists.
The old nodes's FS entries still exist and the kernel can't re-create
procfs and sysfs entries for the new node with the same name.
The patch fixes this issue.
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Indraneel M <indraneel.m@samsung.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/paride')
0 files changed, 0 insertions, 0 deletions