orangefs: do not invalidate attributes on inode create
authorMartin Brandenburg <martin@omnibond.com>
Wed, 1 Aug 2018 18:12:34 +0000 (18:12 +0000)
committerMike Marshall <hubcap@omnibond.com>
Fri, 3 May 2019 18:32:37 +0000 (14:32 -0400)
commit66d5477d7002aeee206108b43cde12d12c3c9d5b
treef270c8815d256dc23c1d1c9b0cae476447f3f2ab
parentfc2e2e9c43e3b3f5dec8a02b17ee3d6343d9783a
orangefs: do not invalidate attributes on inode create

When an inode is created, we fetch attributes from the server.  There is
no need to turn around and invalidate them.

No need to initialize attributes after the getattr either.  Either it'll
be exactly the same, or it'll be something else and wrong.

Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/inode.c
fs/orangefs/namei.c