aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/aops.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/aops.h')
-rw-r--r--fs/ocfs2/aops.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/ocfs2/aops.h b/fs/ocfs2/aops.h
index bdcdd1ae63a9..389579bd64e3 100644
--- a/fs/ocfs2/aops.h
+++ b/fs/ocfs2/aops.h
@@ -50,6 +50,15 @@ int ocfs2_write_end(struct file *file, struct address_space *mapping,
50 loff_t pos, unsigned len, unsigned copied, 50 loff_t pos, unsigned len, unsigned copied,
51 struct page *page, void *fsdata); 51 struct page *page, void *fsdata);
52 52
53int ocfs2_write_end_nolock(struct address_space *mapping,
54 loff_t pos, unsigned len, unsigned copied,
55 struct page *page, void *fsdata);
56
57int ocfs2_write_begin_nolock(struct address_space *mapping,
58 loff_t pos, unsigned len, unsigned flags,
59 struct page **pagep, void **fsdata,
60 struct buffer_head *di_bh, struct page *mmap_page);
61
53/* all ocfs2_dio_end_io()'s fault */ 62/* all ocfs2_dio_end_io()'s fault */
54#define ocfs2_iocb_is_rw_locked(iocb) \ 63#define ocfs2_iocb_is_rw_locked(iocb) \
55 test_bit(0, (unsigned long *)&iocb->private) 64 test_bit(0, (unsigned long *)&iocb->private)