diff options
-rw-r--r-- | fs/bfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bfs/dir.c b/fs/bfs/dir.c index a650f1d0b85e..2a746e688df5 100644 --- a/fs/bfs/dir.c +++ b/fs/bfs/dir.c | |||
@@ -27,7 +27,7 @@ static struct buffer_head * bfs_find_entry(struct inode * dir, | |||
27 | 27 | ||
28 | static int bfs_readdir(struct file * f, void * dirent, filldir_t filldir) | 28 | static int bfs_readdir(struct file * f, void * dirent, filldir_t filldir) |
29 | { | 29 | { |
30 | struct inode * dir = f->f_dentry->d_inode; | 30 | struct inode * dir = f->f_path.dentry->d_inode; |
31 | struct buffer_head * bh; | 31 | struct buffer_head * bh; |
32 | struct bfs_dirent * de; | 32 | struct bfs_dirent * de; |
33 | unsigned int offset; | 33 | unsigned int offset; |