diff options
author | 2021-02-12 13:22:38 -0500 | |
---|---|---|
committer | 2021-03-12 22:15:19 -0500 | |
commit | 4a378d8a0d9606e97bddb0389cbc2009c6fc006c (patch) | |
tree | 8e0e11fb736c3a1911935d5b030918bcebc6a0fa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ocfs2_inode_lock_update(): make sure we don't change the type bits of i_mode (diff) | |
download | wireguard-linux-4a378d8a0d9606e97bddb0389cbc2009c6fc006c.tar.xz wireguard-linux-4a378d8a0d9606e97bddb0389cbc2009c6fc006c.zip |
gfs2: be careful with inode refresh
1) gfs2_dinode_in() should *not* touch ->i_rdev on live inodes; even
"zero and immediately reread the same value from dinode" is broken -
have it overlap with ->release() of char device and you can get all
kinds of bogus behaviour.
2) mismatch on inode type on live inodes should be treated as fs
corruption rather than blindly setting ->i_mode.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions