aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nilfs2/inode.c')
-rw-r--r--fs/nilfs2/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/inode.c b/fs/nilfs2/inode.c
index 36f057fa8aa3..310d87c51b40 100644
--- a/fs/nilfs2/inode.c
+++ b/fs/nilfs2/inode.c
@@ -834,7 +834,7 @@ void nilfs_evict_inode(struct inode *inode)
834int nilfs_setattr(struct dentry *dentry, struct iattr *iattr) 834int nilfs_setattr(struct dentry *dentry, struct iattr *iattr)
835{ 835{
836 struct nilfs_transaction_info ti; 836 struct nilfs_transaction_info ti;
837 struct inode *inode = dentry->d_inode; 837 struct inode *inode = d_inode(dentry);
838 struct super_block *sb = inode->i_sb; 838 struct super_block *sb = inode->i_sb;
839 int err; 839 int err;
840 840