[PATCH v2 0/2] Cleanup for some hardcoded constants

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Edmund Nadolski <enadolski@xxxxxxxx>

This series replaces several hard-coded values with descriptive
symbols.

---
v2:
 + rename SEQ_NONE to SEQ_LAST and move definition to ctree.h
 + clarify comment at __merge_refs()

Edmund Nadolski (2):
  btrfs: provide enumeration for __merge_refs mode argument
  btrfs: replace hardcoded value with SEQ_LAST macro

 fs/btrfs/backref.c | 39 +++++++++++++++++++++------------------
 fs/btrfs/ctree.h   |  2 ++
 fs/btrfs/qgroup.c  |  4 ++--
 3 files changed, 25 insertions(+), 20 deletions(-)

-- 
2.10.2

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux