]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5c91327e1e3b6fed188c6836642911484935f472
treef270c8815d256dc23c1d1c9b0cae476447f3f2ab
parent7000f5b4bd6c7e6e98d52f2727bb21df185ecd3b
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