diff options
Diffstat (limited to 'fs/sysv/dir.c')
-rw-r--r-- | fs/sysv/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysv/dir.c b/fs/sysv/dir.c index f2bef962d309..ebf7007fa161 100644 --- a/fs/sysv/dir.c +++ b/fs/sysv/dir.c | |||
@@ -70,7 +70,7 @@ fail: | |||
70 | static int sysv_readdir(struct file * filp, void * dirent, filldir_t filldir) | 70 | static int sysv_readdir(struct file * filp, void * dirent, filldir_t filldir) |
71 | { | 71 | { |
72 | unsigned long pos = filp->f_pos; | 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 | struct super_block *sb = inode->i_sb; | 74 | struct super_block *sb = inode->i_sb; |
75 | unsigned offset = pos & ~PAGE_CACHE_MASK; | 75 | unsigned offset = pos & ~PAGE_CACHE_MASK; |
76 | unsigned long n = pos >> PAGE_CACHE_SHIFT; | 76 | unsigned long n = pos >> PAGE_CACHE_SHIFT; |