projects
/
xfstests-dev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8172079
)
pv 955274 - Requires fsync() after a file attribute change. This is for dm_get_bulkat...
author
Vlad Apostolov
<vapo@sgi.com>
Wed, 27 Sep 2006 06:07:54 +0000
(06:07 +0000)
committer
Vlad Apostolov
<vapo@sgi.com>
Wed, 27 Sep 2006 06:07:54 +0000
(06:07 +0000)
Merge of master-melb:xfs-cmds:27061a by kenmcd.
pv 955274 - Requires fsync() after a file attribute change. This is for dm_get_bulkattr().
dmapi/src/suite2/src/test_fileattr.c
patch
|
blob
|
history
diff --git
a/dmapi/src/suite2/src/test_fileattr.c
b/dmapi/src/suite2/src/test_fileattr.c
index 538f371d9106588a20227f97309324f18b728e44..93ebd23faddba6d0ce7595ab21162895c644322a 100644
(file)
--- a/
dmapi/src/suite2/src/test_fileattr.c
+++ b/
dmapi/src/suite2/src/test_fileattr.c
@@
-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));
+ }
}
}