diff options
author | Nathan Scott <nathans@sgi.com> | 2002-02-25 23:06:29 +0000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2002-02-25 23:06:29 +0000 |
commit | 857f24a7e1a8c73abdc2776b7ca60b7f792538fd (patch) | |
tree | eaec752c8fb228ed3400f2340194129be38a8bfc | |
parent | 4dc0cadc1f4c4ea4c599daa3ca1caebbe9c531c6 (diff) | |
download | attr-857f24a7e1a8c73abdc2776b7ca60b7f792538fd.tar.gz |
Merge of xfs-cmds-2.4.18:slinx:112556a by nathans.
remove special casing in getxattr code - the reason for its existance
(kernel issue workaround) no longer exists.
-rw-r--r-- | getfattr/getfattr.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/getfattr/getfattr.c b/getfattr/getfattr.c index 9593080..e84c7c4 100644 --- a/getfattr/getfattr.c +++ b/getfattr/getfattr.c @@ -244,15 +244,6 @@ int print_attribute(const char *path, const char *name, int *header_printed) if (opt_dump || opt_value_only) { length = do_getxattr(path, name, NULL, 0); if (length < 0) { - if (errno == ENOATTR) { - /* - * Occasionally there are attribute - * names in the name list that are not - * accessible, or don't really exist. - * Silently ignore this case. - */ - return 0; - } fprintf(stderr, "%s: %s: %s\n", path, name, strerror_ea(errno)); return 1; |