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
|
|
@ -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 = filp->f_dentry->d_inode;
|
||||
struct inode *i = file_inode(filp);
|
||||
struct romfs_inode ri;
|
||||
unsigned long offset, maxoff;
|
||||
int j, ino, nextfh;
|
||||
|
|
|
|||
Loading…
Reference in a new issue