ocfs2_inode_lock_update(): make sure we don't change the type bits of i_mode

... even if another node has gone insane.  Fail with -ESTALE if it detects
an attempt to change the type bits.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2021-02-13 22:39:18 -05:00
commit 60606ecad1