flags = BTRFS_SCAN_REGISTER | BTRFS_SCAN_PRIMARY_SB;
btrfs_scan_one_dir(/dev/, flags)
I just got too flexed into the current way of coding
in btrfs-progs :-)
But let me get at least this part of the code
in the right-way.
Thanks Eric for pointing out.
-Anand
--
To unsubscribe from
This patch adds 4th parameter to btrfs_scan_one_device()
which when set to non-zero value will traverse to check
backup super-block.
Signed-off-by: Anand Jain anand.j...@oracle.com
---
btrfs-show.c | 2 +-
btrfsctl.c| 2 +-
cmds-device.c | 4 ++--
cmds-filesystem.c | 4 ++--
On 3/1/13 4:13 AM, Anand Jain wrote:
This patch adds 4th parameter to btrfs_scan_one_device()
which when set to non-zero value will traverse to check
backup super-block.
Signed-off-by: Anand Jain anand.j...@oracle.com
---
btrfs-show.c | 2 +-
btrfsctl.c| 2 +-
On Fri, Mar 01, 2013 at 06:13:20PM +0800, Anand Jain wrote:
This patch adds 4th parameter to btrfs_scan_one_device()
which when set to non-zero value will traverse to check
backup super-block.
Cool, thanks for working on this.
How'd you decide which callers wanted to scan the backups and