inode.c (c50e86ce7c2961a41f2f7aa6e4fd6c99229ba205) inode.c (378b8e1ad18e7c97832aa3771e295153c4cd2a55)
1/*
2 * inode.c
3 *
4 * PURPOSE
5 * Inode handling routines for the OSTA-UDF(tm) filesystem.
6 *
7 * COPYRIGHT
8 * This file is distributed under the terms of the GNU General Public

--- 86 unchanged lines hidden (view full) ---

95 }
96}
97
98static int udf_writepage(struct page *page, struct writeback_control *wbc)
99{
100 return block_write_full_page(page, udf_get_block, wbc);
101}
102
1/*
2 * inode.c
3 *
4 * PURPOSE
5 * Inode handling routines for the OSTA-UDF(tm) filesystem.
6 *
7 * COPYRIGHT
8 * This file is distributed under the terms of the GNU General Public

--- 86 unchanged lines hidden (view full) ---

95 }
96}
97
98static int udf_writepage(struct page *page, struct writeback_control *wbc)
99{
100 return block_write_full_page(page, udf_get_block, wbc);
101}
102
103static int udf_writepages(struct address_space *mapping,
104 struct writeback_control *wbc)
105{
106 return mpage_writepages(mapping, wbc, udf_get_block);
107}
108
103static int udf_readpage(struct file *file, struct page *page)
104{
105 return mpage_readpage(page, udf_get_block);
106}
107
108static int udf_readpages(struct file *file, struct address_space *mapping,
109 struct list_head *pages, unsigned nr_pages)
110{

--- 29 unchanged lines hidden (view full) ---

140{
141 return generic_block_bmap(mapping, block, udf_get_block);
142}
143
144const struct address_space_operations udf_aops = {
145 .readpage = udf_readpage,
146 .readpages = udf_readpages,
147 .writepage = udf_writepage,
109static int udf_readpage(struct file *file, struct page *page)
110{
111 return mpage_readpage(page, udf_get_block);
112}
113
114static int udf_readpages(struct file *file, struct address_space *mapping,
115 struct list_head *pages, unsigned nr_pages)
116{

--- 29 unchanged lines hidden (view full) ---

146{
147 return generic_block_bmap(mapping, block, udf_get_block);
148}
149
150const struct address_space_operations udf_aops = {
151 .readpage = udf_readpage,
152 .readpages = udf_readpages,
153 .writepage = udf_writepage,
154 .writepages = udf_writepages,
148 .write_begin = udf_write_begin,
149 .write_end = generic_write_end,
150 .bmap = udf_bmap,
151};
152
153/*
154 * Expand file stored in ICB to a normal one-block-file
155 *

--- 2016 unchanged lines hidden ---
155 .write_begin = udf_write_begin,
156 .write_end = generic_write_end,
157 .bmap = udf_bmap,
158};
159
160/*
161 * Expand file stored in ICB to a normal one-block-file
162 *

--- 2016 unchanged lines hidden ---