projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new helper: file_inode(file)
[linux-block.git]
/
fs
/
romfs
/
super.c
diff --git
a/fs/romfs/super.c
b/fs/romfs/super.c
index fd7c5f60b46b84f9cdcba814c2c5e803ef02daa2..7e8d3a80bdab1dcfce41d121cb074e58bf850679 100644
(file)
--- a/
fs/romfs/super.c
+++ b/
fs/romfs/super.c
@@
-147,7
+147,7
@@
static const struct address_space_operations romfs_aops = {
*/
static int romfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
{
- struct inode *i = fil
p->f_dentry->d_inode
;
+ struct inode *i = fil
e_inode(filp)
;
struct romfs_inode ri;
unsigned long offset, maxoff;
int j, ino, nextfh;