aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorTheodore Ts'o <[email protected]>2018-10-02 18:21:19 -0400
committerTheodore Ts'o <[email protected]>2018-10-02 18:21:19 -0400
commit18aded17492088962ef43f00825179598b3e8c58 (patch)
tree7581a1e8fb96cd3c32a66eeb04ec6e86554d8545 /tools/perf/util/trace-event-scripting.c
parent799578ab16e86b074c184ec5abbda0bc698c7b0b (diff)
ext4: fix EXT4_IOC_SWAP_BOOT
The code EXT4_IOC_SWAP_BOOT ioctl hasn't been updated in a while, and it's a bit broken with respect to more modern ext4 kernels, especially metadata checksums. Other problems fixed with this commit: * Don't allow installing a DAX, swap file, or an encrypted file as a boot loader. * Respect the immutable and append-only flags. * Wait until any DIO operations are finished *before* calling truncate_inode_pages(). * Don't swap inode->i_flags, since these flags have nothing to do with the inode blocks --- and it will give the IMA/audit code heartburn when the inode is evicted. Signed-off-by: Theodore Ts'o <[email protected]> Cc: [email protected] Reported-by: [email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions