aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/xattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hfsplus/xattr.c')
-rw-r--r--fs/hfsplus/xattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hfsplus/xattr.c b/fs/hfsplus/xattr.c
index d98094a9f476..964d922f647e 100644
--- a/fs/hfsplus/xattr.c
+++ b/fs/hfsplus/xattr.c
@@ -574,7 +574,7 @@ static ssize_t hfsplus_listxattr_finder_info(struct dentry *dentry,
574 char *buffer, size_t size) 574 char *buffer, size_t size)
575{ 575{
576 ssize_t res = 0; 576 ssize_t res = 0;
577 struct inode *inode = dentry->d_inode; 577 struct inode *inode = d_inode(dentry);
578 struct hfs_find_data fd; 578 struct hfs_find_data fd;
579 u16 entry_type; 579 u16 entry_type;
580 u8 folder_finder_info[sizeof(struct DInfo) + sizeof(struct DXInfo)]; 580 u8 folder_finder_info[sizeof(struct DInfo) + sizeof(struct DXInfo)];
@@ -642,7 +642,7 @@ ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size)
642{ 642{
643 ssize_t err; 643 ssize_t err;
644 ssize_t res = 0; 644 ssize_t res = 0;
645 struct inode *inode = dentry->d_inode; 645 struct inode *inode = d_inode(dentry);
646 struct hfs_find_data fd; 646 struct hfs_find_data fd;
647 u16 key_len = 0; 647 u16 key_len = 0;
648 struct hfsplus_attr_key attr_key; 648 struct hfsplus_attr_key attr_key;