Commit 80a067801d8cc9384f17991b90811f87ceab8225
Committed by
Linus Torvalds
1 parent
d28c91740a
Exists in
master
and in
4 other branches
[PATCH] struct path: convert openpromfs
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
fs/openpromfs/inode.c
... | ... | @@ -262,7 +262,7 @@ |
262 | 262 | |
263 | 263 | static int openpromfs_readdir(struct file * filp, void * dirent, filldir_t filldir) |
264 | 264 | { |
265 | - struct inode *inode = filp->f_dentry->d_inode; | |
265 | + struct inode *inode = filp->f_path.dentry->d_inode; | |
266 | 266 | struct op_inode_info *oi = OP_I(inode); |
267 | 267 | struct device_node *dp = oi->u.node; |
268 | 268 | struct device_node *child; |