]> err.no Git - linux-2.6/blobdiff - fs/jfs/inode.c
[PATCH] knfsd: nfsd: call nfsd_setuser() on fh_compose(), fix nfsd4 permissions problem
[linux-2.6] / fs / jfs / inode.c
index 7239ef3394895a7b2aeab80a4a083cb49bcb3e79..43e3f566aad65fb26a4dcf92845675d561746601 100644 (file)
@@ -302,10 +302,10 @@ static ssize_t jfs_direct_IO(int rw, struct kiocb *iocb,
        struct inode *inode = file->f_mapping->host;
 
        return blockdev_direct_IO(rw, iocb, inode, inode->i_sb->s_bdev, iov,
-                               offset, nr_segs, jfs_get_blocks, NULL);
+                               offset, nr_segs, jfs_get_block, NULL);
 }
 
-struct address_space_operations jfs_aops = {
+const struct address_space_operations jfs_aops = {
        .readpage       = jfs_readpage,
        .readpages      = jfs_readpages,
        .writepage      = jfs_writepage,