From 857f24a7e1a8c73abdc2776b7ca60b7f792538fd Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Mon, 25 Feb 2002 23:06:29 +0000 Subject: 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. --- getfattr/getfattr.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'getfattr') 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; -- cgit v1.2.3