mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
nvme fixes for 5.10:
- don't clear the read-only bit on a revalidate (Sagi Grimberg) -----BEGIN PGP SIGNATURE----- iQI/BAABCgApFiEEgdbnc3r/njty3Iq9D55TZVIEUYMFAl+qbM8LHGhjaEBsc3Qu ZGUACgkQD55TZVIEUYMKAxAAo3didvCayS+ShDJ+lYCgf2OU4OdqnnWZ3xt2uw+i lZFo8pzewooQBWf3o99ouJ5EFSz/QP1ol1mzPtOFxAr7y7WEEhOw5iY4Zk/U6wrB YLBP4b6Dh2secRxoXBbFtz2FJHrwhBzfmcKcAqWHI7fZNLGq04Ob5xRPYr+Tw0qP h+vhRAwgYJRR2BVPEnC9hqvHFiTiW+Nqp00qiKCnz0AF0Jm4W3R+9youElWPqIh/ /kXQpdHnab4bspGZrO+OpW78A/t8FxykSD4R0ZcK7O+Vo2RkkBFPHIlAwpz1UuH3 ch5OOp3f9H+tcLTBHvR3HmumMImtKba5BoYfjOr7BYPX3XSq+Oulu0PZfYdkuNxn MSz1uuXHzth6qHBWEOnhyc2/AqSu7kG2IpItgWSSlYozVvz8ikJr+CseZnJ2qWbR m3s3MsD6LsDc1qDUpKjH9R3pHjkRLM25jQYS9mpNZ1yo6yTNBC5RABIVjVit7KdU ehAnZrb3bAvrNWgFpRSaaXER/He7BNYW7Kcli14Ob0gRJ1Da482ox9EI7oLxVmKR GXfVv3Hm/Qf/ryCNW0daSq+P3XN2aYCVggMDdyz09i3TFqN+w0zXV5GiBqTBa5lN H8paj2Eq93YXzZkOSq6QNiv7tvejwJE0ukinqnXRmrngyGcO70LgrY0as/LWV96r 3rc= =p1oy -----END PGP SIGNATURE----- Merge tag 'nvme-5.10-2020-11-10' of git://git.infradead.org/nvme into block-5.10 Pull NVMe fix from Christoph: "nvme fixes for 5.10: - don't clear the read-only bit on a revalidate (Sagi Grimberg)" * tag 'nvme-5.10-2020-11-10' of git://git.infradead.org/nvme: nvme: fix incorrect behavior when BLKROSET is called by the user
This commit is contained in:
commit
b5214c605f
@ -2060,8 +2060,6 @@ static void nvme_update_disk_info(struct gendisk *disk,
|
|||||||
|
|
||||||
if (id->nsattr & NVME_NS_ATTR_RO)
|
if (id->nsattr & NVME_NS_ATTR_RO)
|
||||||
set_disk_ro(disk, true);
|
set_disk_ro(disk, true);
|
||||||
else
|
|
||||||
set_disk_ro(disk, false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline bool nvme_first_scan(struct gendisk *disk)
|
static inline bool nvme_first_scan(struct gendisk *disk)
|
||||||
|
Loading…
Reference in New Issue
Block a user