forked from storaged-project/libblockdev
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
part: Do not open disk read-write for read only operations
We don't need to open the device read-write for functions like bd_part_get_disk_spec. Fixes: storaged-project#961
- Loading branch information
1 parent
060bb3c
commit a3888b3
Showing
1 changed file
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters