Whamcloud - gitweb
create_inode: do not fail if filesystem doesn't support xattr
authorJürg Billeter <j@bitron.ch>
Thu, 18 Aug 2022 16:31:32 +0000 (18:31 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 19 Sep 2022 12:32:20 +0000 (08:32 -0400)
commit985b46c55070c62153587e5b18ecb5310706546c
tree65f14d23c88be3ae02547952d8e3685d1fa670a2
parentca96dd1a3fc7f9ef6747950130d594c7b80c4a22
create_inode: do not fail if filesystem doesn't support xattr

As `set_inode_xattr()` doesn't fail if the `llistxattr()` function is
not available, it seems inconsistent to let `set_inode_xattr()` fail if
`llistxattr()` fails with `ENOTSUP`, indicating that the filesystem
doesn't support extended attributes.

Signed-off-by: Jürg Billeter <j@bitron.ch>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/create_inode.c