Displaying 1 result from an estimated 1 matches for "btrfs_ioctl_tree_search_old".
2010 Dec 14
0
[PATCH] BTRFS_IOC_TREE_SEARCH: store and use the last key found
...t;start_objectid = key.objectid;
+ sk->start_type = key.type;
+ sk->start_offset = key.offset;
+
sk->nr_items = num_found;
btrfs_free_path(path);
return ret;
@@ -1234,6 +1239,39 @@ static noinline int btrfs_ioctl_tree_search(struct file
*file,
return ret;
}
+static noinline int btrfs_ioctl_tree_search_old(struct file *file,
+ void __user *argp)
+{
+ struct btrfs_ioctl_search_args *args;
+ struct inode *inode;
+ int ret;
+
+ printk(KERN_WARNING "BTRFS: Pid=%d(%s) is using the buggy "
+ "BTRFS_IOC_TREE_SEARCH_V0 ioctl\n",
+ current->pid, current->comm);
+
+ if (!c...