]> www.infradead.org Git - linux-platform-drivers-x86.git/commit
ocfs2_inode_lock_update(): make sure we don't change the type bits of i_mode
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 14 Feb 2021 03:39:18 +0000 (22:39 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 13 Mar 2021 03:15:18 +0000 (22:15 -0500)
commit60606ecad1881566ae1c76e2b921b6c07407e2cf
tree90dd835d0bac5b212ba9e106f6de3ae7e0e73475
parente89f00d602b16284ee29677501f39126dd26ee3a
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>
fs/ocfs2/dlmglue.c