Skip to content

Commit

Permalink
Merge pull request dorimanx#57 from mzhboy/master
Browse files Browse the repository at this point in the history
 fix exfat_super.c
  • Loading branch information
dorimanx committed Jan 20, 2015
2 parents 97229de + 4dbbb38 commit f02406c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion exfat_super.c
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,11 @@ static long exfat_generic_ioctl(struct file *filp,
#endif
{
#if !(LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36))
struct inode *inode = filp->f_dentry->d_inode;
#if !(LINUX_VERSION_CODE < KERNEL_VERSION(3,18,3))
struct inode *inode = filp->f_path.dentry->d_inode;
#else
struct inode *inode = filp->f_dentry->d_inode;
#endif
#endif
#ifdef CONFIG_EXFAT_KERNEL_DEBUG
unsigned int flags;
Expand Down

0 comments on commit f02406c

Please sign in to comment.