Skip to content
Snippets Groups Projects
Commit 23777b72 authored by Yuri.Sh's avatar Yuri.Sh Committed by GitHub
Browse files

Merge pull request #110 from Icenowy/master

exfat_super: Update for kernel 4.11 compatibility
parents 5c2239b0 0c04c398
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -1363,9 +1363,16 @@ static int exfat_setattr(struct dentry *dentry, struct iattr *attr)
return error;
}
 
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
static int exfat_getattr(const struct path *path, struct kstat *stat,
u32 request_mask, unsigned int flags)
{
struct inode *inode = path->dentry->d_inode;
#else
static int exfat_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat)
{
struct inode *inode = dentry->d_inode;
#endif
 
DPRINTK("exfat_getattr entered\n");
 
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