mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -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
|
|
@ -28,7 +28,7 @@ static struct buffer_head *bfs_find_entry(struct inode *dir,
|
|||
|
||||
static int bfs_readdir(struct file *f, void *dirent, filldir_t filldir)
|
||||
{
|
||||
struct inode *dir = f->f_path.dentry->d_inode;
|
||||
struct inode *dir = file_inode(f);
|
||||
struct buffer_head *bh;
|
||||
struct bfs_dirent *de;
|
||||
struct bfs_sb_info *info = BFS_SB(dir->i_sb);
|
||||
|
|
|
|||
Loading…
Reference in a new issue