diff options
| -rwxr-xr-x | run-tests.sh | 1 | ||||
| -rw-r--r-- | xlators/features/shard/src/shard.c | 2 | 
2 files changed, 1 insertions, 2 deletions
diff --git a/run-tests.sh b/run-tests.sh index d5730d422b8..b8eb8e40fef 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -204,7 +204,6 @@ function is_bad_test ()                ./tests/geo-rep/georep-basic-dr-rsync.t \                ./tests/geo-rep/georep-basic-dr-tarssh.t \                ./tests/bugs/replicate/bug-1221481-allow-fops-on-dir-split-brain.t \ -              ./tests/bugs/shard/bug-1245547.t \                ; do          [ x"$name" = x"$bt" ] && return 0 # bash: zero means true/success      done diff --git a/xlators/features/shard/src/shard.c b/xlators/features/shard/src/shard.c index 289f8e48ba9..aee6ed3ce45 100644 --- a/xlators/features/shard/src/shard.c +++ b/xlators/features/shard/src/shard.c @@ -396,7 +396,7 @@ shard_update_file_size_cbk (call_frame_t *frame, void *cookie, xlator_t *this,                  goto err;          } -        if (shard_modify_size_and_block_count (&local->postbuf, xdata)) { +        if (shard_modify_size_and_block_count (&local->postbuf, dict)) {                  local->op_ret = -1;                  local->op_errno = ENOMEM;                  goto err;  | 
