core: Use openat() for reading bare file objects too

...unless we want xattrs, in which case we have to fallback to path
lookup due to lack of llistxattrat().

This looks nicer in strace.
This commit is contained in:
Colin Walters committed 2013-09-08 19:31:44 -04:00
1 parent a071a3ec3a
commit 3ff4b1874c
2 files changed
+84 -25

No files matched your search

-4
View File
@@ -66,10 +66,6 @@ _ostree_repo_ensure_loose_objdir_at (int dfd,
GCancellable *cancellable,
GError **error);
GFile *
_ostree_repo_get_file_object_path (OstreeRepo *self,
const char *checksum);
gboolean
_ostree_repo_find_object (OstreeRepo *self,
OstreeObjectType objtype,