new helper: file_inode(file)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -51,7 +51,7 @@ done:
|
||||
*/
|
||||
static int hfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
|
||||
{
|
||||
struct inode *inode = filp->f_path.dentry->d_inode;
|
||||
struct inode *inode = file_inode(filp);
|
||||
struct super_block *sb = inode->i_sb;
|
||||
int len, err;
|
||||
char strbuf[HFS_MAX_NAMELEN];
|
||||
|
Reference in New Issue
Block a user