public int listxattrsize(ByteBuffer path, FuseSizeSetter sizeSetter) {
        if (xattrSupport == null) {
            return handleErrno(Errno.ENOTSUPP);
        }

        String pathStr = cs.decode(path).toString();

        if (log != null && log.isDebugEnabled()) {
            log.debug("listxattrsize: path=" + pathStr);
        }

        int errno;
        XattrSizeLister lister = new XattrSizeLister();

        try {
            errno = xattrSupport.listxattr(pathStr, lister);
        }
        catch(Exception e) {
            return handleException(e);
        }

        sizeSetter.setSize(lister.size);

        return handleErrno(errno, sizeSetter);
    }