summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/inode.c
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-03-18 19:20:15 +0100
committerMike Marshall <hubcap@omnibond.com>2016-03-23 22:36:16 +0100
commite8da254c415475d3df67966a198523bfe3ac0576 (patch)
treec27f66da4a27e998d331e04363eb9a05212a18e9 /fs/orangefs/inode.c
parentorangefs: remove needless wrapper around GFP_KERNEL (diff)
downloadlinux-e8da254c415475d3df67966a198523bfe3ac0576.tar.xz
linux-e8da254c415475d3df67966a198523bfe3ac0576.zip
orangefs: move code which sets i_link to orangefs_inode_getattr
Everything else setting inode->i_ values is in there. Signed-off-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/inode.c')
-rw-r--r--fs/orangefs/inode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/orangefs/inode.c b/fs/orangefs/inode.c
index 8f047722cb44..2e521ec734c4 100644
--- a/fs/orangefs/inode.c
+++ b/fs/orangefs/inode.c
@@ -275,8 +275,6 @@ int orangefs_getattr(struct vfsmount *mnt,
/* override block size reported to stat */
orangefs_inode = ORANGEFS_I(inode);
kstat->blksize = orangefs_inode->blksize;
-
- inode->i_link = ORANGEFS_I(dentry->d_inode)->link_target;
}
return ret;
}