projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'akpm' (fixes from Andrew)
[firefly-linux-kernel-4.4.55.git]
/
fs
/
readdir.c
diff --git
a/fs/readdir.c
b/fs/readdir.c
index 5e69ef533b77bcda920dc79be3de68c8a714d990..fee38e04fae4ab09440c05808e539f72133c6976 100644
(file)
--- a/
fs/readdir.c
+++ b/
fs/readdir.c
@@
-22,7
+22,7
@@
int vfs_readdir(struct file *file, filldir_t filler, void *buf)
{
- struct inode *inode = file
->f_path.dentry->d_inode
;
+ struct inode *inode = file
_inode(file)
;
int res = -ENOTDIR;
if (!file->f_op || !file->f_op->readdir)
goto out;