From 27204a8361ff975ddf3a60b95cc24f4e5ec7bed8 Mon Sep 17 00:00:00 2001 From: fsgqa Date: Mon, 25 Feb 2002 22:34:31 +0000 Subject: Merge of xfs-cmds-2.4.18:slinx:111986a by nathans. Don't filter out ENOTSUP errors. --- getfattr/getfattr.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'getfattr/getfattr.c') diff --git a/getfattr/getfattr.c b/getfattr/getfattr.c index 4932a64..aeb29d7 100644 --- a/getfattr/getfattr.c +++ b/getfattr/getfattr.c @@ -221,11 +221,9 @@ int do_get_all(const char *path, struct stat *stat, void *dummy) listsize = do_listxattr(path, NULL, 0); if (listsize < 0) { - if (errno != ENOATTR && errno != ENOTSUP) { - perror(path); - had_errors++; - return 1; - } + perror(path); + had_errors++; + return 1; } else if (listsize > 0) { if (high_water_alloc((void **)&list, &bufsize, listsize)) return 1; -- cgit v1.2.3