[Libguestfs] [PATCH 0/5] labels: rework

Chen Hanxiao chenhanxiao at cn.fujitsu.com
Wed Jul 8 03:07:46 UTC 2015


We should use the existing function from specific fs,
if not, move it to specific fs files.

Chen Hanxiao (5):
  label: move btrfslabel to btrfs.c
  label: move e2label to ext2.c and call it locally
  label: move ntfslabel to ntfs.c
  label: use existing do_xfs_admin for xfslabel
  labels: return ENOTSUP if could not set label for specific fs

 daemon/btrfs.c  | 16 +++++++++++
 daemon/daemon.h |  4 +++
 daemon/ext2.c   | 29 +++++++++++++++----
 daemon/labels.c | 89 ++++-----------------------------------------------------
 daemon/ntfs.c   | 19 ++++++++++++
 daemon/xfs.c    |  7 +++++
 6 files changed, 75 insertions(+), 89 deletions(-)

-- 
2.1.0




More information about the Libguestfs mailing list