diff options
author | Martin Brandenburg <martin@omnibond.com> | 2016-03-18 19:20:15 +0100 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-03-23 22:36:16 +0100 |
commit | e8da254c415475d3df67966a198523bfe3ac0576 (patch) | |
tree | c27f66da4a27e998d331e04363eb9a05212a18e9 /fs/orangefs/orangefs-utils.c | |
parent | orangefs: remove needless wrapper around GFP_KERNEL (diff) | |
download | linux-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/orangefs-utils.c')
-rw-r--r-- | fs/orangefs/orangefs-utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/orangefs/orangefs-utils.c b/fs/orangefs/orangefs-utils.c index 36ee30d1f0ad..40f5163b56aa 100644 --- a/fs/orangefs/orangefs-utils.c +++ b/fs/orangefs/orangefs-utils.c @@ -318,6 +318,7 @@ int orangefs_inode_getattr(struct inode *inode, int new, int size) strlcpy(orangefs_inode->link_target, new_op->downcall.resp.getattr.link_target, ORANGEFS_NAME_MAX); + inode->i_link = orangefs_inode->link_target; } break; } |