From: Vlad Apostolov Date: Fri, 16 Feb 2007 02:59:54 +0000 (+0000) Subject: XFSQA test 144 fails again on tot linux_xfs X-Git-Tag: v1.1.0~515 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=fbdf0823b5f09a3652dc2e9b9a6ef8e6217c73ac;ds=sidebyside XFSQA test 144 fails again on tot linux_xfs Merge of master-melb:xfs-cmds:28113a by kenmcd. pv 961215, rv allanr - replacing fsync() with global sync() --- diff --git a/dmapi/src/suite2/src/test_fileattr.c b/dmapi/src/suite2/src/test_fileattr.c index 93ebd23f..8210c7dc 100644 --- a/dmapi/src/suite2/src/test_fileattr.c +++ b/dmapi/src/suite2/src/test_fileattr.c @@ -271,13 +271,9 @@ 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)); - } } } - + sync(); /*-----------------------------------------------------*\ |* Get_fileattr loop *| \*-----------------------------------------------------*/