btrfs-progs: cmd_find_new: Sync fs before searching for modified files.
authorchandan <chandan@linux.vnet.ibm.com>
Mon, 23 Sep 2013 18:17:11 +0000 (23:47 +0530)
committerChris Mason <chris.mason@fusionio.com>
Wed, 16 Oct 2013 12:23:11 +0000 (08:23 -0400)
commitc31c50f3309110162f345b6b07389ff6e7e929d4
tree149b038b56115076c54ff016f503051993a70e4d
parent844034adba58d2af50dc01ac36a0ba817ca3df9c
btrfs-progs: cmd_find_new: Sync fs before searching for modified files.

The sync makes sure that 'very recently' introduced delayed work is
accounted for in the output of 'btrfs subvolume find-new' command.

Signed-off-by: chandan <chandan@linux.vnet.ibm.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
cmds-subvolume.c