mirror of
https://github.com/systemd/systemd.git
synced 2025-02-10 17:57:40 +03:00
loop-util: fix LoopDevice.devno assigned by loop_device_open()
This commit is contained in:
parent
ffcb33241e
commit
9b5626d67a
@ -851,7 +851,7 @@ int loop_device_open(
|
||||
.nr = nr,
|
||||
.node = TAKE_PTR(p),
|
||||
.relinquished = true, /* It's not ours, don't try to destroy it when this object is freed */
|
||||
.devno = st.st_dev,
|
||||
.devno = st.st_rdev,
|
||||
.diskseq = diskseq,
|
||||
.uevent_seqnum_not_before = UINT64_MAX,
|
||||
.timestamp_not_before = USEC_INFINITY,
|
||||
|
Loading…
x
Reference in New Issue
Block a user