Skip to content

Const char cleanups

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: constify device path passed to relevant helpersfs/btrfs/dev-replace.c fs/btrfs/dev-replace.h fs/btrfs/volumes.c +1 more+22 -180 replies
2/4btrfs: constify input buffer of btrfs_csum_datafs/btrfs/disk-io.c fs/btrfs/disk-io.h+3 -30 replies
3/4btrfs: constify buffers used by compression helpersfs/btrfs/compression.c fs/btrfs/compression.h fs/btrfs/lzo.c+3 -30 replies
4/4btrfs: constify name of subvolume in creation helpersfs/btrfs/ioctl.c+3 -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] Const char cleanups

A handful of char -> const char changes spotted during other cleanups.

David Sterba (4):
btrfs: constify device path passed to relevant helpers
btrfs: constify input buffer of btrfs_csum_data
btrfs: constify buffers used by compression helpers
btrfs: constify name of subvolume in creation helpers

 fs/btrfs/compression.c |  2 +-
 fs/btrfs/compression.h |  2 +-
 fs/btrfs/dev-replace.c |  5 +++--
 fs/btrfs/dev-replace.h |  5 +++--
 fs/btrfs/disk-io.c     |  4 ++--
 fs/btrfs/disk-io.h     |  2 +-
 fs/btrfs/ioctl.c       |  6 +++---
 fs/btrfs/lzo.c         |  2 +-
 fs/btrfs/volumes.c     | 18 ++++++++++--------
 fs/btrfs/volumes.h     | 12 ++++++------
 10 files changed, 31 insertions(+), 27 deletions(-)