]> git.baikalelectronics.ru Git - kernel.git/commit
orangefs: simplify orangefs_inode_is_stale
authorMartin Brandenburg <martin@omnibond.com>
Tue, 6 Feb 2018 14:01:25 +0000 (14:01 +0000)
committerMike Marshall <hubcap@omnibond.com>
Tue, 6 Feb 2018 21:38:13 +0000 (16:38 -0500)
commit69e0dec89931a20fa2da6ae0779fc1766ae35738
tree2a8c054b3169165ac271dfc55cdc3d242bc69d4b
parentc655301967dcbd595ddf5853c8bc66bb744aa4e7
orangefs: simplify orangefs_inode_is_stale

Check whether this is a new inode at location of call.

Raises the question of what to do with an unknown inode type.  Old code
would've marked the inode bad and returned ESTALE.

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