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
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
fs
/
isofs
/
compress.c
diff --git
a/fs/isofs/compress.c
b/fs/isofs/compress.c
index
4917315
..
6bbbdb5
100644
(file)
--- a/
fs/isofs/compress.c
+++ b/
fs/isofs/compress.c
@@
-16,7
+16,6
@@
* Transparent decompression of files on an iso9660 filesystem
*/
* Transparent decompression of files on an iso9660 filesystem
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/init.h>
@@
-43,7
+42,7
@@
static struct semaphore zisofs_zlib_semaphore;
*/
static int zisofs_readpage(struct file *file, struct page *page)
{
*/
static int zisofs_readpage(struct file *file, struct page *page)
{
- struct inode *inode = file->f_dentry->d_inode;
+ struct inode *inode = file->f_
path.
dentry->d_inode;
struct address_space *mapping = inode->i_mapping;
unsigned int maxpage, xpage, fpage, blockindex;
unsigned long offset;
struct address_space *mapping = inode->i_mapping;
unsigned int maxpage, xpage, fpage, blockindex;
unsigned long offset;
@@
-312,7
+311,7
@@
eio:
return err;
}
return err;
}
-struct address_space_operations zisofs_aops = {
+
const
struct address_space_operations zisofs_aops = {
.readpage = zisofs_readpage,
/* No sync_page operation supported? */
/* No bmap operation supported */
.readpage = zisofs_readpage,
/* No sync_page operation supported? */
/* No bmap operation supported */