summaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.h
diff options
context:
space:
mode:
authorStephen Rothwell2010-01-18 01:53:08 +0100
committerSage Weil2010-03-05 23:49:41 +0100
commitf1a3d57213fe264b4cf584e78bac36aaf9998729 (patch)
tree9adf9ba40793ecf83f7a1fd71b4bd73e726b6dac /fs/ceph/super.h
parentceph: reset osd after relevant messages timed out (diff)
downloadkernel-qcow2-linux-f1a3d57213fe264b4cf584e78bac36aaf9998729.tar.gz
kernel-qcow2-linux-f1a3d57213fe264b4cf584e78bac36aaf9998729.tar.xz
kernel-qcow2-linux-f1a3d57213fe264b4cf584e78bac36aaf9998729.zip
ceph: update for write_inode API change
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r--fs/ceph/super.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h
index 02c0ddcf3eaf..65d12036b670 100644
--- a/fs/ceph/super.h
+++ b/fs/ceph/super.h
@@ -11,6 +11,7 @@
#include <linux/mempool.h>
#include <linux/pagemap.h>
#include <linux/wait.h>
+#include <linux/writeback.h>
#include "types.h"
#include "messenger.h"
@@ -811,7 +812,7 @@ static inline void ceph_remove_cap(struct ceph_cap *cap)
extern void ceph_put_cap(struct ceph_cap *cap);
extern void ceph_queue_caps_release(struct inode *inode);
-extern int ceph_write_inode(struct inode *inode, int unused);
+extern int ceph_write_inode(struct inode *inode, struct writeback_control *wbc);
extern int ceph_fsync(struct file *file, struct dentry *dentry, int datasync);
extern void ceph_kick_flushing_caps(struct ceph_mds_client *mdsc,
struct ceph_mds_session *session);