Mercurial > xfs_ino_scan
changeset 18:c515cc303bed
cleanup copy data condition
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Sat, 22 Mar 2008 18:43:58 -0400 |
parents | c10bdd3261be |
children | 068a4a28bde6 |
files | ino_scan.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ino_scan.c Sat Mar 22 18:42:40 2008 -0400 +++ b/ino_scan.c Sat Mar 22 18:43:58 2008 -0400 @@ -99,6 +99,9 @@ void copy_extent_data(struct xfs_bmbt_irec *irec) { + if (!ffd) + return; + #ifdef COPY_DATA char buf[BLKSIZE]; int ret; @@ -128,8 +131,7 @@ i, irec.br_startoff, irec.br_startblock, irec.br_blockcount, irec.br_state); - if (ffd) - copy_extent_data(&irec); + copy_extent_data(&irec); } }