Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Jun 29, 2020

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit dc6143a58735b781820bb4e3094114078b055810:

Merge branch 'compiler' of https://github.com/bvanassche/fio (2020-06-24 09:02:06 -0600)

are available in the Git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 797ef7b209d7423f34dfe513beeede21d2efddc4:

Merge branch 'pmemblk' of https://github.com/bvanassche/fio (2020-06-28 07:08:36 -0600)

----------------------------------------------------------------
Bart Van Assche (1):
Unbreak the pmemblk engine

Jens Axboe (1):
Merge branch 'pmemblk' of https://github.com/bvanassche/fio

 engines/pmemblk.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

---

Diff of recent changes:

engines/pmemblk.c +2 -2
index 730f4d77..e2eaa15e 100644
@@ -220,14 +220,14 @@ static fio_pmemblk_file_t pmb_open(const char *pathspec, int flags)
 		pmb->pmb_nblocks = pmemblk_nblock(pmb->pmb_pool);
 
 		fio_pmemblk_cache_insert(pmb);
+	} else {
+		free(path);
 	}
 
 	pmb->pmb_refcnt += 1;
 
 	pthread_mutex_unlock(&CacheLock);
 
-	free(path);
-
 	return pmb;
 
 error: