summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/send.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2012-09-14 08:04:21 +0200
committerChris Mason <chris.mason@fusionio.com>2012-10-04 15:39:55 +0200
commit1bcea35597693b3ac1ec1b311cfd42d52972a710 (patch)
treefa1d8d7888c8a2aee895510f66c92ccd12308b11 /fs/btrfs/send.h
parentBtrfs: remove unnecessary code in btree_get_extent() (diff)
downloadlinux-1bcea35597693b3ac1ec1b311cfd42d52972a710.tar.xz
linux-1bcea35597693b3ac1ec1b311cfd42d52972a710.zip
Btrfs: write_buf is now callable outside send.c
Developing service cmds needs it. Signed-off-by: Anand Jain <anand.jain@oracle.com>
Diffstat (limited to 'fs/btrfs/send.h')
-rw-r--r--fs/btrfs/send.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/send.h b/fs/btrfs/send.h
index 9934e948e57f..1bf4f32fd4ef 100644
--- a/fs/btrfs/send.h
+++ b/fs/btrfs/send.h
@@ -130,4 +130,5 @@ enum {
#ifdef __KERNEL__
long btrfs_ioctl_send(struct file *mnt_file, void __user *arg);
+int write_buf(struct file *filp, const void *buf, u32 len, loff_t *off);
#endif