summaryrefslogtreecommitdiffstats
path: root/net/khttpd/datasending.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-23 00:40:54 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-23 00:40:54 +0000
commit529c593ece216e4aaffd36bd940cb94f1fa63129 (patch)
tree78f1c0b805f5656aa7b0417a043c5346f700a2cf /net/khttpd/datasending.c
parent0bd079751d25808d1972baee5c4eaa1db2227257 (diff)
Merge with 2.3.43. I did ignore all modifications to the qlogicisp.c
driver due to the Origin A64 hacks.
Diffstat (limited to 'net/khttpd/datasending.c')
-rw-r--r--net/khttpd/datasending.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/khttpd/datasending.c b/net/khttpd/datasending.c
index 058b308dc..a26afe191 100644
--- a/net/khttpd/datasending.c
+++ b/net/khttpd/datasending.c
@@ -114,8 +114,7 @@ int DataSending(const int CPUNR)
inode = CurrentRequest->filp->f_dentry->d_inode;
- if ( (inode!=NULL)&&(inode->i_op!=NULL)&&(inode->i_op->readpage!=NULL))
- {
+ if (inode && inode->i_mapping->a_ops->readpage) {
/* This does the actual transfer using sendfile */
read_descriptor_t desc;
loff_t *ppos;