git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
fs
/
udf
/
inode.c
diff --git
a/fs/udf/inode.c
b/fs/udf/inode.c
index
b223b32
..
2983afd
100644
(file)
--- a/
fs/udf/inode.c
+++ b/
fs/udf/inode.c
@@
-132,7
+132,7
@@
static sector_t udf_bmap(struct address_space *mapping, sector_t block)
return generic_block_bmap(mapping,block,udf_get_block);
}
return generic_block_bmap(mapping,block,udf_get_block);
}
-
const
struct address_space_operations udf_aops = {
+struct address_space_operations udf_aops = {
.readpage = udf_readpage,
.writepage = udf_writepage,
.sync_page = block_sync_page,
.readpage = udf_readpage,
.writepage = udf_writepage,
.sync_page = block_sync_page,
@@
-916,6
+916,8
@@
__udf_read_inode(struct inode *inode)
* i_nlink = 1
* i_op = NULL;
*/
* i_nlink = 1
* i_op = NULL;
*/
+ inode->i_blksize = PAGE_SIZE;
+
bh = udf_read_ptagged(inode->i_sb, UDF_I_LOCATION(inode), 0, &ident);
if (!bh)
bh = udf_read_ptagged(inode->i_sb, UDF_I_LOCATION(inode), 0, &ident);
if (!bh)