X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=fs%2Fhfsplus%2Fxattr.h;h=a1629cfe37d311bed47e1bfc40b85a29bbb289e4;hb=2b0143b5c986be1ce8408b3aadc4709e0a94429d;hp=288530cf80b5fe5555f05294d24710868ac3b46a;hpb=9b3e7c9b9ab5c2827c1ecd45327b851a1bd01c2a;p=mirror_ubuntu-zesty-kernel.git diff --git a/fs/hfsplus/xattr.h b/fs/hfsplus/xattr.h index 288530cf80b5..a1629cfe37d3 100644 --- a/fs/hfsplus/xattr.h +++ b/fs/hfsplus/xattr.h @@ -24,7 +24,7 @@ int __hfsplus_setxattr(struct inode *inode, const char *name, static inline int hfsplus_setxattr(struct dentry *dentry, const char *name, const void *value, size_t size, int flags) { - return __hfsplus_setxattr(dentry->d_inode, name, value, size, flags); + return __hfsplus_setxattr(d_inode(dentry), name, value, size, flags); } ssize_t __hfsplus_getxattr(struct inode *inode, const char *name, @@ -35,7 +35,7 @@ static inline ssize_t hfsplus_getxattr(struct dentry *dentry, void *value, size_t size) { - return __hfsplus_getxattr(dentry->d_inode, name, value, size); + return __hfsplus_getxattr(d_inode(dentry), name, value, size); } ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size);