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
|
|
@ -330,7 +330,7 @@ int omfs_is_bad(struct omfs_sb_info *sbi, struct omfs_header *header,
|
|||
static int omfs_fill_chain(struct file *filp, void *dirent, filldir_t filldir,
|
||||
u64 fsblock, int hindex)
|
||||
{
|
||||
struct inode *dir = filp->f_dentry->d_inode;
|
||||
struct inode *dir = file_inode(filp);
|
||||
struct buffer_head *bh;
|
||||
struct omfs_inode *oi;
|
||||
u64 self;
|
||||
|
|
@ -405,7 +405,7 @@ out:
|
|||
|
||||
static int omfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
|
||||
{
|
||||
struct inode *dir = filp->f_dentry->d_inode;
|
||||
struct inode *dir = file_inode(filp);
|
||||
struct buffer_head *bh;
|
||||
loff_t offset, res;
|
||||
unsigned int hchain, hindex;
|
||||
|
|
|
|||
Loading…
Reference in a new issue