diff options
author | Josef "Jeff" Sipek <jsipek@cs.sunysb.edu> | 2006-12-08 05:36:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:42 -0500 |
commit | f3a43f3f64bff8e205c3702f6b4804d66e306848 (patch) | |
tree | 355a340fa26d3b72aa967119a6948ff45d46a0d0 /kernel/fork.c | |
parent | c941192aafe053ae445fb22f5d89bd34794c5442 (diff) |
[PATCH] kernel: change uses of f_{dentry, vfsmnt} to use f_path
Change all the uses of f_{dentry,vfsmnt} to f_path.{dentry,mnt} in
linux/kernel/.
Signed-off-by: Josef "Jeff" Sipek <jsipek@cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index f387a1393ca5..597707819327 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -252,7 +252,7 @@ static inline int dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm) | |||
252 | anon_vma_link(tmp); | 252 | anon_vma_link(tmp); |
253 | file = tmp->vm_file; | 253 | file = tmp->vm_file; |
254 | if (file) { | 254 | if (file) { |
255 | struct inode *inode = file->f_dentry->d_inode; | 255 | struct inode *inode = file->f_path.dentry->d_inode; |
256 | get_file(file); | 256 | get_file(file); |
257 | if (tmp->vm_flags & VM_DENYWRITE) | 257 | if (tmp->vm_flags & VM_DENYWRITE) |
258 | atomic_dec(&inode->i_writecount); | 258 | atomic_dec(&inode->i_writecount); |