style fix

master
Osamu Tatebe 2019-06-22 10:48:41 +09:00
parent 6cae44b512
commit a822363ee0
2 changed files with 7 additions and 7 deletions

View File

@ -189,7 +189,7 @@ AM_COND_IF([USE_RADOS_AIORI],[
AC_MSG_CHECKING([for Gfarm file system]) AC_MSG_CHECKING([for Gfarm file system])
AC_ARG_WITH([gfarm], AC_ARG_WITH([gfarm],
[AS_HELP_STRING([--with-gfarm=GFARM_ROOT], [AS_HELP_STRING([--with-gfarm=GFARM_ROOT],
[support IO with libgfarm backend @<:@default=no@:>@])], [support IO with Gfarm backend @<:@default=no@:>@])],
[], [with_gfarm=no]) [], [with_gfarm=no])
AC_MSG_RESULT([$with_gfarm]) AC_MSG_RESULT([$with_gfarm])
AM_CONDITIONAL([USE_GFARM_AIORI], [test x$with_gfarm != xno]) AM_CONDITIONAL([USE_GFARM_AIORI], [test x$with_gfarm != xno])

View File

@ -109,7 +109,7 @@ Gfarm_close(void *fd, IOR_param_t *param)
{ {
struct gfarm_file *fp = fd; struct gfarm_file *fp = fd;
if(param->dryRun) if (param->dryRun)
return; return;
if (gfs_pio_close(fp->gf) != GFARM_ERR_NO_ERROR) if (gfs_pio_close(fp->gf) != GFARM_ERR_NO_ERROR)
@ -141,7 +141,7 @@ Gfarm_fsync(void *fd, IOR_param_t *param)
{ {
struct gfarm_file *fp = fd; struct gfarm_file *fp = fd;
if(param->dryRun) if (param->dryRun)
return; return;
if (gfs_pio_sync(fp->gf) != GFARM_ERR_NO_ERROR) if (gfs_pio_sync(fp->gf) != GFARM_ERR_NO_ERROR)