XFSQA test 144 fails again on tot linux_xfs
authorVlad Apostolov <vapo@sgi.com>
Fri, 16 Feb 2007 02:59:54 +0000 (02:59 +0000)
committerVlad Apostolov <vapo@sgi.com>
Fri, 16 Feb 2007 02:59:54 +0000 (02:59 +0000)
Merge of master-melb:xfs-cmds:28113a by kenmcd.

  pv 961215, rv allanr - replacing fsync() with global sync()

dmapi/src/suite2/src/test_fileattr.c

index 93ebd23faddba6d0ce7595ab21162895c644322a..8210c7dce5a8720212b366db85320660a51d5cf0 100644 (file)
@@ -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                                   *|
        \*-----------------------------------------------------*/