[Drbd-dev] [PATCH 00/21] drbd: clean-up patchset

Fabian Frederick fabf at skynet.be
Fri Nov 27 22:26:05 CET 2015


This small patchset does some code clean-up in drivers/block/drbd tree.

Fabian Frederick (21):
  drbd: debugfs: constify drbd_version_fops
  drbd: simplify drbd_md_set_sector_offsets()
  drbd: use seq_put instead of seq_print where possible
  drbd: include linux/uaccess.h instead of asm/uaccess.h
  drbd: rework is_valid_state()
  drbd: use const char * const for drbd strings
  drbd: kerneldoc warning fix in w_e_end_data_req()
  drbd: use unsigned for one bit fields
  drbd: use bool for peer is_ states
  drbd: fix typo
  drbd: use | for bitmask combination
  drbd: use true/false for bool
  drbd: fix drbd_bm_init() comments
  drbd: clean-up receive_SyncParam()
  drbd: introduce peer state union
  drbd: fix maybe_pull_ahead() locking comments
  drbd: use bool for growing
  drbd: remove redundant declarations
  drbd: remove bm_vk_free()
  drbd: remove unused definitions
  drbd: replace if/BUG by BUG_ON

 drivers/block/drbd/drbd_bitmap.c   | 19 +++-----
 drivers/block/drbd/drbd_debugfs.c  |  2 +-
 drivers/block/drbd/drbd_int.h      |  7 ---
 drivers/block/drbd/drbd_interval.h | 14 +++---
 drivers/block/drbd/drbd_main.c     |  2 +-
 drivers/block/drbd/drbd_nl.c       | 37 ++++++++--------
 drivers/block/drbd/drbd_proc.c     | 30 ++++++-------
 drivers/block/drbd/drbd_receiver.c | 22 +++++-----
 drivers/block/drbd/drbd_req.c      |  2 +-
 drivers/block/drbd/drbd_state.c    | 90 +++++++++++++++++---------------------
 drivers/block/drbd/drbd_state.h    |  2 +-
 drivers/block/drbd/drbd_strings.c  |  8 ++--
 drivers/block/drbd/drbd_worker.c   |  9 ++--
 include/linux/drbd.h               |  8 ++++
 14 files changed, 116 insertions(+), 136 deletions(-)

-- 
2.1.4



More information about the drbd-dev mailing list