]> Gentwo Git Trees - linux/.git/commit
simplify gfs2_atomic_open()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 12 Sep 2025 17:47:57 +0000 (13:47 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 17 Sep 2025 03:59:38 +0000 (23:59 -0400)
commitd71cbf0d3bc029d4ef3f321c8778960afc049158
tree0663410147d8a681bf6bf7f94e82da350ef175e6
parent1d7b343785914826f04cd91a9d53f136e626a919
simplify gfs2_atomic_open()

the difference from 9p et.al. is that on gfs2 the lookup side might
end up opening the file.  That's what the FMODE_OPENED check there
is about - and it might actually be seen with finish_open() having
failed, if it fails late enough.

Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/gfs2/inode.c