summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorJeff Darcy <jdarcy@redhat.com>2014-03-04 15:35:13 +0000
committerJeff Darcy <jdarcy@redhat.com>2014-03-04 15:35:13 +0000
commit2775959b47c15e597a7974bbafa79e0882452952 (patch)
treed0b7f8f799e69884171dc06668cfafeee74e8abe /api
parent0de07f4189cbd191a765c60ed3d7c72f72112e68 (diff)
nsr: add mem_acct_init functions
It's not clear why this started failing after the last merge, since the mem_acct code hasn't changed for a while, but it did and having those functions is good form anyway. Also removed a bunch of GF_ASSERT(0) calls that made (and will continue to make) debugging unnecessarily painful. Change-Id: Icd89f2e23f1eaafc79cb9af06c3c9c8d2fdeec14 Signed-off-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'api')
-rw-r--r--api/src/glfs-fops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/src/glfs-fops.c b/api/src/glfs-fops.c
index 05f0997a8..326530578 100644
--- a/api/src/glfs-fops.c
+++ b/api/src/glfs-fops.c
@@ -2767,7 +2767,8 @@ glfs_llistxattr (struct glfs *fs, const char *path, void *value, size_t size)
ssize_t
-glfs_flistxattr_with_xdata (struct glfs_fd *glfd, void *value, size_t size,dict_t *dict)
+glfs_flistxattr_with_xdata (struct glfs_fd *glfd, void *value, size_t size,
+ dict_t *dict)
{
int ret = -1;
xlator_t *subvol = NULL;