Commit 5495ca657d854ac57733ce5a52eee52255b3f4d8
Committed by
Linus Torvalds
1 parent
303b46bb77
Exists in
master
and in
7 other branches
[PATCH] struct path: convert sysv
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/sysv/dir.c
... | ... | @@ -70,7 +70,7 @@ |
70 | 70 | static int sysv_readdir(struct file * filp, void * dirent, filldir_t filldir) |
71 | 71 | { |
72 | 72 | unsigned long pos = filp->f_pos; |
73 | - struct inode *inode = filp->f_dentry->d_inode; | |
73 | + struct inode *inode = filp->f_path.dentry->d_inode; | |
74 | 74 | struct super_block *sb = inode->i_sb; |
75 | 75 | unsigned offset = pos & ~PAGE_CACHE_MASK; |
76 | 76 | unsigned long n = pos >> PAGE_CACHE_SHIFT; |