Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 388800 Details for
Bug 561855
[RFE] support for "lustre.*" extended attributes
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
[PATCH 1/2] xattrs: add support for lustre attributes
0001-xattrs-add-support-for-lustre-attributes.patch (text/plain), 1.92 KB, created by
Kamil Dudka
on 2010-02-04 14:28:26 UTC
(
hide
)
Description:
[PATCH 1/2] xattrs: add support for lustre attributes
Filename:
MIME Type:
Creator:
Kamil Dudka
Created:
2010-02-04 14:28:26 UTC
Size:
1.92 KB
patch
obsolete
>From e114844d330718edbc9de19a7e1ce14fda4fdfe1 Mon Sep 17 00:00:00 2001 >From: Kamil Dudka <kdudka@redhat.com> >Date: Thu, 4 Feb 2010 14:41:08 +0100 >Subject: [PATCH 1/2] xattrs: add support for lustre attributes > > >Signed-off-by: Kamil Dudka <kdudka@redhat.com> >--- > src/xattrs.c | 8 +++----- > 1 files changed, 3 insertions(+), 5 deletions(-) > >diff --git a/src/xattrs.c b/src/xattrs.c >index e51bb70..422a5f6 100644 >--- a/src/xattrs.c >+++ b/src/xattrs.c >@@ -238,10 +238,8 @@ void xattrs_xattrs_get(struct tar_stat_info *st, char const *file_name, int fd) > size_t len = strlen (attr); > ssize_t aret = 0; > >- if (strncmp (attr, "user.", strlen("user.")) && >- strncmp (attr, "trusted.", strlen("trusted."))) >- goto next_attr; /* only store normal xattrs */ >- >+ /* Archive all xattrs during creation, decide at extraction time >+ * which ones are of interest/use for the target filesystem. */ > while (((fd == -1) ? > ((aret = lgetxattr (file_name, attr, val, asz)) == -1) : > ((aret = fgetxattr (fd, attr, val, asz)) == -1)) && >@@ -256,7 +254,6 @@ void xattrs_xattrs_get(struct tar_stat_info *st, char const *file_name, int fd) > else if (errno != ENOATTR) > call_arg_warn ((fd==-1) ? "lgetxattr" : "fgetxattr", file_name); > >- next_attr: > attr += len + 1; > xret -= len + 1; > } >@@ -476,6 +473,7 @@ void xattrs_xattrs_set(struct tar_stat_info const *st, > keyword += strlen("SCHILY.xattr."); > > if (strncmp (keyword, "user.", strlen("user.")) && >+ strncmp (keyword, "lustre.", strlen("lustre.")) && > strncmp (keyword, "trusted.", strlen("trusted."))) > continue; /* don't try and set anything but normal xattrs */ > >-- >1.6.2.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 561855
:
388800
|
388801
|
389010
|
389012
|
389013
|
394722
|
395254