patch-2.4.25 linux-2.4.25/fs/nfs/direct.c
Next file: linux-2.4.25/fs/nfsd/nfsxdr.c
Previous file: linux-2.4.25/fs/ncpfs/dir.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2004-02-18 05:36:31.000000000 -0800
- Orig file:
linux-2.4.24/fs/nfs/direct.c
- Orig date:
2003-08-25 04:44:43.000000000 -0700
diff -urN linux-2.4.24/fs/nfs/direct.c linux-2.4.25/fs/nfs/direct.c
@@ -354,7 +354,7 @@
size_t count = iobuf->length;
struct dentry *dentry = file->f_dentry;
struct inode *inode = dentry->d_inode;
- loff_t offset = blocknr << inode->i_blkbits;
+ loff_t offset = (loff_t) blocknr << inode->i_blkbits;
switch (rw) {
case READ:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)