projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new helper: file_inode(file)
[linux-2.6-block.git]
/
fs
/
ncpfs
/
mmap.c
diff --git
a/fs/ncpfs/mmap.c
b/fs/ncpfs/mmap.c
index 63d14a99483d5d39ec58bfd8419c53173721da99..ee24df5af1f929671ae0c6d8145d7951e767fc17 100644
(file)
--- a/
fs/ncpfs/mmap.c
+++ b/
fs/ncpfs/mmap.c
@@
-105,7
+105,7
@@
static const struct vm_operations_struct ncp_file_mmap =
/* This is used for a general mmap of a ncp file */
int ncp_mmap(struct file *file, struct vm_area_struct *vma)
{
- struct inode *inode = file
->f_path.dentry->d_inode
;
+ struct inode *inode = file
_inode(file)
;
DPRINTK("ncp_mmap: called\n");