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>
diff --git a/fs/orangefs/inode.c b/fs/orangefs/inode.c
index 8f04772..2e521ec 100644
--- a/fs/orangefs/inode.c
+++ b/fs/orangefs/inode.c
@@ -275,8 +275,6 @@
 		/* 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;
 }
diff --git a/fs/orangefs/orangefs-utils.c b/fs/orangefs/orangefs-utils.c
index 36ee30d..40f5163 100644
--- a/fs/orangefs/orangefs-utils.c
+++ b/fs/orangefs/orangefs-utils.c
@@ -318,6 +318,7 @@
 			strlcpy(orangefs_inode->link_target,
 			    new_op->downcall.resp.getattr.link_target,
 			    ORANGEFS_NAME_MAX);
+			inode->i_link = orangefs_inode->link_target;
 		}
 		break;
 	}