aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/f2fs/dir.c')
-rw-r--r--fs/f2fs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c
index 951ed52748f6..fda0bcc0907f 100644
--- a/fs/f2fs/dir.c
+++ b/fs/f2fs/dir.c
@@ -603,7 +603,7 @@ bool f2fs_empty_dir(struct inode *dir)
603static int f2fs_readdir(struct file *file, void *dirent, filldir_t filldir) 603static int f2fs_readdir(struct file *file, void *dirent, filldir_t filldir)
604{ 604{
605 unsigned long pos = file->f_pos; 605 unsigned long pos = file->f_pos;
606 struct inode *inode = file->f_dentry->d_inode; 606 struct inode *inode = file_inode(file);
607 unsigned long npages = dir_blocks(inode); 607 unsigned long npages = dir_blocks(inode);
608 unsigned char *types = NULL; 608 unsigned char *types = NULL;
609 unsigned int bit_pos = 0, start_bit_pos = 0; 609 unsigned int bit_pos = 0, start_bit_pos = 0;