search for: btrfs_ioc_ino_paths

Displaying 4 results from an estimated 4 matches for "btrfs_ioc_ino_paths".

2012 Nov 15
0
[PATCH] btrfs-progs: fix 32bit int/pointer cast warnings
...lude <stdint.h> #include <sys/ioctl.h> #include <errno.h> @@ -44,7 +45,7 @@ static int __ino_to_path_fd(u64 inum, int fd, int verbose, const char *prepend) ipa.inum = inum; ipa.size = 4096; - ipa.fspath = (u64)fspath; + ipa.fspath = (uintptr_t)fspath; ret = ioctl(fd, BTRFS_IOC_INO_PATHS, &ipa); if (ret) { @@ -168,7 +169,7 @@ static int cmd_logical_resolve(int argc, char **argv) loi.logical = atoll(argv[optind]); loi.size = size; - loi.inodes = (u64)inodes; + loi.inodes = (uintptr_t)inodes; fd = open_file_or_dir(argv[optind+1]); if (fd < 0) { -- 1.7.11.4 -- T...
2011 Jul 07
5
[PATCH v1 0/2] Btrfs-progs: commands "resolve inode" and "resolve logical"
The kernel patch series just sent (Subject: "Btrfs: scrub: print path to corrupted files and trigger nodatasum fixup") introduces two new ioctls to do in-kernel filesystem path construction. This series provides the corresponding userspace changes, adding two new commands to the btrfs utility: -- btrfs resolve inode [-v] <inode> <path> resolves an <inode> to all
2011 Jul 21
10
[PATCH v5 0/8] Btrfs scrub: print path to corrupted files and trigger nodatasum fixup
While testing raid-auto-repair patches I''m going to send out later, I just found the very last bug in my current scrub patch series: Changelog v4->v5: - fixed a deadlock when fixup is taking longer while scrub is about to end Original message follows: ------------------------ This patch set introduces two new features for scrub. They share the backref iteration code which is the
2012 Feb 03
10
[PATCH 0/3] Btrfs-progs: restriper interface
Hello, This is the userspace part of restriper, rebased onto the new progs infrastructure. Restriper commands are located under ''balance'' prefix, which is now the top level command group. However to not confuse existing users ''balance'' prefix is also available under ''filesystem'': btrfs [filesystem] balance start btrfs [filesystem] balance