Skip to content

More mount-time checks

David Sterba linux-btrfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs: more superblock checks, lower bounds on devices and sectorsize/nodesizefs/btrfs/disk-io.c+19 -00 replies
2/4btrfs: add checks for sys_chunk_array sizesfs/btrfs/disk-io.c+19 -00 replies
3/4btrfs: cleanup, rename a few variables in btrfs_read_sys_arrayfs/btrfs/volumes.c+16 -150 replies
4/4btrfs: add more checks to btrfs_read_sys_arrayfs/btrfs/volumes.c+23 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] More mount-time checks

This series adds more superblock checks that turned out not to be enough after "btrfs: add more superblock checks". Would be good to get them into 3.18 as I'd like to submit them to stable kernels as well. This is not easily possible right now as it depends on a patch that's not merged yet (mentioned below).

Based on current master plus patch

"btrfs: fix typos in btrfs_check_super_valid"
(https://patchwork.kernel.org/patch/5206401/)

David Sterba (4):
btrfs: more superblock checks, lower bounds on devices and
sectorsize/nodesize
btrfs: add checks for sys_chunk_array sizes
btrfs: cleanup, rename a few variables in btrfs_read_sys_array
btrfs: add more checks to btrfs_read_sys_array

 fs/btrfs/disk-io.c | 38 +++++++++++++++++++++++++++++++++++++
 fs/btrfs/volumes.c | 55 +++++++++++++++++++++++++++++++++++++-----------------
 2 files changed, 76 insertions(+), 17 deletions(-)
Signature · 1 line
1.8.4.5