diff options
Diffstat (limited to 'fs/udf/inode.c')
-rw-r--r-- | fs/udf/inode.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/udf/inode.c b/fs/udf/inode.c index aa233469b3c..1a0588e77a2 100644 --- a/fs/udf/inode.c +++ b/fs/udf/inode.c | |||
@@ -100,6 +100,12 @@ static int udf_writepage(struct page *page, struct writeback_control *wbc) | |||
100 | return block_write_full_page(page, udf_get_block, wbc); | 100 | return block_write_full_page(page, udf_get_block, wbc); |
101 | } | 101 | } |
102 | 102 | ||
103 | static int udf_writepages(struct address_space *mapping, | ||
104 | struct writeback_control *wbc) | ||
105 | { | ||
106 | return mpage_writepages(mapping, wbc, udf_get_block); | ||
107 | } | ||
108 | |||
103 | static int udf_readpage(struct file *file, struct page *page) | 109 | static int udf_readpage(struct file *file, struct page *page) |
104 | { | 110 | { |
105 | return mpage_readpage(page, udf_get_block); | 111 | return mpage_readpage(page, udf_get_block); |
@@ -145,6 +151,7 @@ const struct address_space_operations udf_aops = { | |||
145 | .readpage = udf_readpage, | 151 | .readpage = udf_readpage, |
146 | .readpages = udf_readpages, | 152 | .readpages = udf_readpages, |
147 | .writepage = udf_writepage, | 153 | .writepage = udf_writepage, |
154 | .writepages = udf_writepages, | ||
148 | .write_begin = udf_write_begin, | 155 | .write_begin = udf_write_begin, |
149 | .write_end = generic_write_end, | 156 | .write_end = generic_write_end, |
150 | .bmap = udf_bmap, | 157 | .bmap = udf_bmap, |