summaryrefslogtreecommitdiffstats
path: root/daemon/xattr.c
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-08-17 12:21:37 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-08-17 16:08:13 +0100
commitdc66dd32c214db99467341caea0be517d2dd736f (patch)
tree82de6e3d7b60aa78095892d7152bc8e38acadab4 /daemon/xattr.c
parent118932fbeac606919f8b96c81184f4f3e0910508 (diff)
downloadlibguestfs-dc66dd32c214db99467341caea0be517d2dd736f.tar.gz
libguestfs-dc66dd32c214db99467341caea0be517d2dd736f.tar.xz
libguestfs-dc66dd32c214db99467341caea0be517d2dd736f.zip
guestfs_lstatlist, guestfs_lxattrlist: Reimplement to avoid protocol limits.
Note that the code to do this was already in virt-ls, so this is change is mostly just moving the code into the core library.
Diffstat (limited to 'daemon/xattr.c')
-rw-r--r--daemon/xattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/xattr.c b/daemon/xattr.c
index 71033071..3c0363e4 100644
--- a/daemon/xattr.c
+++ b/daemon/xattr.c
@@ -263,7 +263,7 @@ _removexattr (const char *xattr, const char *path,
}
guestfs_int_xattr_list *
-do_lxattrlist (const char *path, char *const *names)
+do_internal_lxattrlist (const char *path, char *const *names)
{
#if defined(HAVE_LLISTXATTR) && defined(HAVE_LGETXATTR)
/* XXX This would be easier if the kernel had lgetxattrat. In the
@@ -588,7 +588,7 @@ do_lremovexattr (const char *xattr, const char *path)
}
guestfs_int_xattr_list *
-do_lxattrlist (const char *path, char *const *names)
+do_internal_lxattrlist (const char *path, char *const *names)
{
abort ();
}