]>
git.proxmox.com Git - ceph.git/blob - ceph/src/include/ceph_fuse.h
45881930b87b4eb15dfc6288df5aa2431401f60e
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
4 * Ceph - scalable distributed file system
6 * Copyright (C) 2012 Inktank Storage, Inc.
7 * Copyright (C) 2014 Red Hat <contact@redhat.com>
9 * This is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License version 2.1, as published by the Free Software
12 * Foundation. See file COPYING.
17 #define FUSE_USE_VERSION 30
21 static inline int filler_compat(fuse_fill_dir_t filler
,
22 void *buf
, const char *name
,
23 const struct stat
*stbuf
,
26 return filler(buf
, name
, stbuf
, off
27 #if FUSE_VERSION >= FUSE_MAKE_VERSION(3, 0)
28 , static_cast<enum fuse_fill_dir_flags
>(0)
32 #endif /* CEPH_FUSE_H */