diff options
Diffstat (limited to 'fs/hostfs/hostfs_kern.c')
-rw-r--r-- | fs/hostfs/hostfs_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index e021188ca110..b827aa4248d4 100644 --- a/fs/hostfs/hostfs_kern.c +++ b/fs/hostfs/hostfs_kern.c | |||
@@ -795,7 +795,7 @@ static int hostfs_permission(struct inode *ino, int desired) | |||
795 | 795 | ||
796 | static int hostfs_setattr(struct dentry *dentry, struct iattr *attr) | 796 | static int hostfs_setattr(struct dentry *dentry, struct iattr *attr) |
797 | { | 797 | { |
798 | struct inode *inode = dentry->d_inode; | 798 | struct inode *inode = d_inode(dentry); |
799 | struct hostfs_iattr attrs; | 799 | struct hostfs_iattr attrs; |
800 | char *name; | 800 | char *name; |
801 | int err; | 801 | int err; |