Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346703
b: refs/heads/master
c: 9a8c28b
h: refs/heads/master
i:
  346701: fcec852
  346699: 174a26f
  346695: fe64171
  346687: bd58ddf
v: v3
  • Loading branch information
Miao Xie authored and Chris Mason committed Dec 17, 2012
1 parent 08a2a6a commit a8bdc95
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: db2254bce4f19f458aaa05f9d00b39f413f7488c
refs/heads/master: 9a8c28bec1b40e934ed28149b7eaa7d2fafed92d
12 changes: 6 additions & 6 deletions trunk/fs/btrfs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -3058,9 +3058,9 @@ long btrfs_ioctl_trans_end(struct file *file)
return 0;
}

static noinline long btrfs_ioctl_start_sync(struct file *file, void __user *argp)
static noinline long btrfs_ioctl_start_sync(struct btrfs_root *root,
void __user *argp)
{
struct btrfs_root *root = BTRFS_I(file->f_dentry->d_inode)->root;
struct btrfs_trans_handle *trans;
u64 transid;
int ret;
Expand All @@ -3081,9 +3081,9 @@ static noinline long btrfs_ioctl_start_sync(struct file *file, void __user *argp
return 0;
}

static noinline long btrfs_ioctl_wait_sync(struct file *file, void __user *argp)
static noinline long btrfs_ioctl_wait_sync(struct btrfs_root *root,
void __user *argp)
{
struct btrfs_root *root = BTRFS_I(file->f_dentry->d_inode)->root;
u64 transid;

if (argp) {
Expand Down Expand Up @@ -3843,9 +3843,9 @@ long btrfs_ioctl(struct file *file, unsigned int
btrfs_sync_fs(file->f_dentry->d_sb, 1);
return 0;
case BTRFS_IOC_START_SYNC:
return btrfs_ioctl_start_sync(file, argp);
return btrfs_ioctl_start_sync(root, argp);
case BTRFS_IOC_WAIT_SYNC:
return btrfs_ioctl_wait_sync(file, argp);
return btrfs_ioctl_wait_sync(root, argp);
case BTRFS_IOC_SCRUB:
return btrfs_ioctl_scrub(root, argp);
case BTRFS_IOC_SCRUB_CANCEL:
Expand Down

0 comments on commit a8bdc95

Please sign in to comment.