search for: ops_completed

Displaying 1 result from an estimated 1 matches for "ops_completed".

2009 Nov 10
12
[RFC] big fat transaction ioctl
...<linux/security.h> +#include <linux/syscalls.h> #include <linux/xattr.h> #include <linux/vmalloc.h> #include "compat.h" @@ -1303,6 +1304,190 @@ long btrfs_ioctl_trans_end(struct file *file) return 0; } +/* + * return number of successfully complete ops via @ops_completed + * (where success/failure is defined by the _FAIL_* flags). + */ +static long do_usertrans(struct btrfs_root *root, + struct btrfs_ioctl_usertrans *ut, + u64 *ops_completed) +{ + int i; + int *fds; + int err; + struct file *file; + struct btrfs_ioctl_usertrans_op *ops = (void *)ut->ops_pt...