diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-02-12 21:22:38 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-03-13 06:15:19 +0300 |
commit | 4a378d8a0d9606e97bddb0389cbc2009c6fc006c (patch) | |
tree | 8e0e11fb736c3a1911935d5b030918bcebc6a0fa /tools/perf/scripts/python/syscall-counts.py | |
parent | 60606ecad1881566ae1c76e2b921b6c07407e2cf (diff) | |
download | linux-4a378d8a0d9606e97bddb0389cbc2009c6fc006c.tar.xz |
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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions