patch-2.4.0-prerelease linux/fs/udf/file.c
Next file: linux/fs/udf/symlink.c
Previous file: linux/fs/udf/Makefile
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Fri Dec 29 14:07:57 2000
- Orig file:
v2.4.0-test12/linux/fs/udf/file.c
- Orig date:
Mon Dec 11 17:59:45 2000
diff -u --recursive --new-file v2.4.0-test12/linux/fs/udf/file.c linux/fs/udf/file.c
@@ -45,7 +45,7 @@
static int udf_adinicb_readpage(struct file *file, struct page * page)
{
- struct inode *inode = (struct inode *)page->mapping->host;
+ struct inode *inode = page->mapping->host;
struct buffer_head *bh;
int block;
@@ -69,7 +69,7 @@
static int udf_adinicb_writepage(struct page *page)
{
- struct inode *inode = (struct inode *)page->mapping->host;
+ struct inode *inode = page->mapping->host;
struct buffer_head *bh;
int block;
@@ -97,7 +97,7 @@
static int udf_adinicb_commit_write(struct file *file, struct page *page, unsigned offset, unsigned to)
{
- struct inode *inode = (struct inode *)page->mapping->host;
+ struct inode *inode = page->mapping->host;
struct buffer_head *bh;
int block;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)