Skip to content

Commit

Permalink
exfat_super: Update for kernel 4.10 compatibility
Browse files Browse the repository at this point in the history
If no special .readlink is required, it should be left uninitialised.
  • Loading branch information
philipl committed Feb 20, 2017
1 parent 8d291f5 commit a15579e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion exfat_super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,9 @@ static void *exfat_follow_link(struct dentry *dentry, struct nameidata *nd)
#endif

const struct inode_operations exfat_symlink_inode_operations = {
.readlink = generic_readlink,
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,10,0)
.readlink = generic_readlink,
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,5,0)
.follow_link = exfat_follow_link,
#endif
Expand Down

0 comments on commit a15579e

Please sign in to comment.