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

[Libguestfs] [PATCH v2 0/4] labels: rework



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

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

 daemon/daemon.h      |  2 ++
 daemon/ext2.c        | 23 ++++++++++++-----
 daemon/labels.c      | 70 ++++------------------------------------------------
 daemon/ntfs.c        | 19 ++++++++++++++
 daemon/xfs.c         |  7 ++++++
 generator/actions.ml |  3 +++
 6 files changed, 53 insertions(+), 71 deletions(-)

-- 
2.1.0


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