]>
git.proxmox.com Git - ceph.git/blob - ceph/src/client/Fh.cc
2 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
3 // vim: ts=8 sw=2 smarttab
5 * Ceph - scalable distributed file system
7 * Copyright (C) 2017 Red Hat Inc
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.
21 Fh::Fh(InodeRef in
, int flags
, int cmode
, uint64_t _gen
, const UserPerm
&perms
) :
22 inode(in
), _ref(1), pos(0), mds(0), mode(cmode
), gen(_gen
), flags(flags
),
23 pos_locked(false), actor_perms(perms
), readahead()