diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-12-20 21:32:20 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-12-20 21:32:20 -0800 |
commit | 9d5004fcf6e4e8caa9efbc25c9f85059b165329c (patch) | |
tree | 7f1b53d5487ffabb7be6e1f5b5b964448651b5bc /include/linux | |
parent | 453434cf3fdcd3954bb52460e37d4945a0913d3e (diff) | |
parent | 361cf40519a491f68b28ad90225e4611c4bf8e12 (diff) | |
download | linux-9d5004fcf6e4e8caa9efbc25c9f85059b165329c.tar.gz linux-9d5004fcf6e4e8caa9efbc25c9f85059b165329c.tar.bz2 linux-9d5004fcf6e4e8caa9efbc25c9f85059b165329c.zip |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client:
ceph: handle partial result from get_user_pages
ceph: mark user pages dirty on direct-io reads
ceph: fix null pointer dereference in ceph_init_dentry for nfs reexport
ceph: fix direct-io on non-page-aligned buffers
ceph: fix msgr_init error path
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/ceph/libceph.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h index 9e76d35670d2..72c72bfccb88 100644 --- a/include/linux/ceph/libceph.h +++ b/include/linux/ceph/libceph.h @@ -227,8 +227,10 @@ extern int ceph_open_session(struct ceph_client *client); extern void ceph_release_page_vector(struct page **pages, int num_pages); extern struct page **ceph_get_direct_page_vector(const char __user *data, - int num_pages); -extern void ceph_put_page_vector(struct page **pages, int num_pages); + int num_pages, + bool write_page); +extern void ceph_put_page_vector(struct page **pages, int num_pages, + bool dirty); extern void ceph_release_page_vector(struct page **pages, int num_pages); extern struct page **ceph_alloc_page_vector(int num_pages, gfp_t flags); extern int ceph_copy_user_to_page_vector(struct page **pages, |