Skip to content
Snippets Groups Projects
Commit a15579ed authored by Philip Langdale's avatar Philip Langdale
Browse files

exfat_super: Update for kernel 4.10 compatibility

If no special .readlink is required, it should be left uninitialised.
parent 8d291f52
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment