mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
pv 955274 - Requires fsync() after a file attribute change. This is for dm_get_bulkattr().
Merge of master-melb:xfs-cmds:27061a by kenmcd. pv 955274 - Requires fsync() after a file attribute change. This is for dm_get_bulkattr().
This commit is contained in:
@@ -271,6 +271,10 @@ main(
|
|||||||
else if (Vflag) {
|
else if (Vflag) {
|
||||||
fprintf(stderr, "report: set #%d was successful.\n", i);
|
fprintf(stderr, "report: set #%d was successful.\n", i);
|
||||||
}
|
}
|
||||||
|
if (dm_sync_by_handle(sid, hanp, hlen, DM_NO_TOKEN)) {
|
||||||
|
fprintf(stderr, "dm_sync_by_handle failed on pass #%d; %s.\n",
|
||||||
|
i, strerror(errno));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user