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:
Vlad Apostolov
2006-09-27 06:07:54 +00:00
parent 817207981e
commit 8b4e94540c
+4
View File
@@ -271,6 +271,10 @@ main(
else if (Vflag) {
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));
}
}
}