* [PATCH] mkfs.ubifs: ignore EOPNOTSUPP when listing extended attributes
@ 2017-10-24 15:07 Pavel Roskin
2017-10-30 11:16 ` David Oberhollenzer
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Roskin @ 2017-10-24 15:07 UTC (permalink / raw)
To: linux-mtd; +Cc: David Oberhollenzer
Systems that don't support extended attributes should still be able to
create ubifs images.
Signed-off-by: Pavel Roskin <plroskin@gmail.com>
---
ubifs-utils/mkfs.ubifs/mkfs.ubifs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c b/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
index d432dfe..c916f48 100644
--- a/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
+++ b/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
@@ -1128,7 +1128,7 @@ static int inode_add_xattr(struct ubifs_ino_node *host_ino,
len = llistxattr(path_name, NULL, 0);
if (len < 0) {
- if (errno == ENOENT)
+ if (errno == ENOENT || errno == EOPNOTSUPP)
return 0;
sys_err_msg("llistxattr failed on %s", path_name);
--
2.14.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mkfs.ubifs: ignore EOPNOTSUPP when listing extended attributes
2017-10-24 15:07 [PATCH] mkfs.ubifs: ignore EOPNOTSUPP when listing extended attributes Pavel Roskin
@ 2017-10-30 11:16 ` David Oberhollenzer
0 siblings, 0 replies; 2+ messages in thread
From: David Oberhollenzer @ 2017-10-30 11:16 UTC (permalink / raw)
To: Pavel Roskin, linux-mtd
Applied to mtd-utils.git
Thanks,
David
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-30 11:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-24 15:07 [PATCH] mkfs.ubifs: ignore EOPNOTSUPP when listing extended attributes Pavel Roskin
2017-10-30 11:16 ` David Oberhollenzer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).