public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Christian Ebner <c.ebner@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 1/2] client: pxar: fix minor formatting issues
Date: Wed, 21 Feb 2024 15:48:03 +0100	[thread overview]
Message-ID: <20240221144804.455959-1-c.ebner@proxmox.com> (raw)

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
---
 pbs-client/src/pxar/create.rs     | 13 ++++++++++---
 proxmox-backup-client/src/main.rs |  2 +-
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/pbs-client/src/pxar/create.rs b/pbs-client/src/pxar/create.rs
index 75376c0c..fa16abfe 100644
--- a/pbs-client/src/pxar/create.rs
+++ b/pbs-client/src/pxar/create.rs
@@ -161,7 +161,7 @@ where
         feature_flags & fs_feature_flags,
         fs_magic,
         &mut fs_feature_flags,
-        options.skip_e2big_xattr
+        options.skip_e2big_xattr,
     )
     .context("failed to get metadata for source directory")?;
 
@@ -545,7 +545,7 @@ impl Archiver {
             self.flags(),
             self.fs_magic,
             &mut self.fs_feature_flags,
-            self.skip_e2big_xattr
+            self.skip_e2big_xattr,
         )?;
 
         let match_path = PathBuf::from("/").join(self.path.clone());
@@ -787,7 +787,14 @@ fn get_metadata(
         ..Default::default()
     };
 
-    get_xattr_fcaps_acl(&mut meta, fd, &proc_path, flags, fs_feature_flags, skip_e2big_xattr)?;
+    get_xattr_fcaps_acl(
+        &mut meta,
+        fd,
+        &proc_path,
+        flags,
+        fs_feature_flags,
+        skip_e2big_xattr,
+    )?;
     get_chattr(&mut meta, fd)?;
     get_fat_attr(&mut meta, fd, fs_magic)?;
     get_quota_project_id(&mut meta, fd, flags, fs_magic)?;
diff --git a/proxmox-backup-client/src/main.rs b/proxmox-backup-client/src/main.rs
index fdf43747..546275cb 100644
--- a/proxmox-backup-client/src/main.rs
+++ b/proxmox-backup-client/src/main.rs
@@ -1000,7 +1000,7 @@ async fn create_backup(
                     patterns: pattern_list.clone(),
                     entries_max: entries_max as usize,
                     skip_lost_and_found,
-                    skip_e2big_xattr
+                    skip_e2big_xattr,
                 };
 
                 let upload_options = UploadOptions {
-- 
2.39.2





             reply	other threads:[~2024-02-21 14:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-21 14:48 Christian Ebner [this message]
2024-02-21 14:48 ` [pbs-devel] [PATCH proxmox-backup 2/2] client: pxar: early return on exclude pattern match Christian Ebner
2024-02-22  8:07 ` [pbs-devel] applied: [PATCH proxmox-backup 1/2] client: pxar: fix minor formatting issues Dietmar Maurer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240221144804.455959-1-c.ebner@proxmox.com \
    --to=c.ebner@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal