]> git.baikalelectronics.ru Git - kernel.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)
commit11d3ff4a9ea13e94180f6c39cec67b1d9e4b89fb
tree90dd835d0bac5b212ba9e106f6de3ae7e0e73475
parent9835f852d9759a4d35dfaad1271e40622c4c1192
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