diff options
Diffstat (limited to 'fs/f2fs/dir.c')
-rw-r--r-- | fs/f2fs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index c395c5012973..a1f38443ecee 100644 --- a/fs/f2fs/dir.c +++ b/fs/f2fs/dir.c | |||
@@ -600,7 +600,7 @@ bool f2fs_empty_dir(struct inode *dir) | |||
600 | static int f2fs_readdir(struct file *file, void *dirent, filldir_t filldir) | 600 | static int f2fs_readdir(struct file *file, void *dirent, filldir_t filldir) |
601 | { | 601 | { |
602 | unsigned long pos = file->f_pos; | 602 | unsigned long pos = file->f_pos; |
603 | struct inode *inode = file->f_dentry->d_inode; | 603 | struct inode *inode = file_inode(file); |
604 | unsigned long npages = dir_blocks(inode); | 604 | unsigned long npages = dir_blocks(inode); |
605 | unsigned char *types = NULL; | 605 | unsigned char *types = NULL; |
606 | unsigned int bit_pos = 0, start_bit_pos = 0; | 606 | unsigned int bit_pos = 0, start_bit_pos = 0; |