mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
new helper: file_inode(file)
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
57eccb830f
commit
496ad9aa8e
306 changed files with 696 additions and 717 deletions
|
|
@ -117,12 +117,12 @@ static struct dentry *jffs2_lookup(struct inode *dir_i, struct dentry *target,
|
|||
static int jffs2_readdir(struct file *filp, void *dirent, filldir_t filldir)
|
||||
{
|
||||
struct jffs2_inode_info *f;
|
||||
struct inode *inode = filp->f_path.dentry->d_inode;
|
||||
struct inode *inode = file_inode(filp);
|
||||
struct jffs2_full_dirent *fd;
|
||||
unsigned long offset, curofs;
|
||||
|
||||
jffs2_dbg(1, "jffs2_readdir() for dir_i #%lu\n",
|
||||
filp->f_path.dentry->d_inode->i_ino);
|
||||
file_inode(filp)->i_ino);
|
||||
|
||||
f = JFFS2_INODE_INFO(inode);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue