Add ceph_ll_mknod wrapper for ll_mknod

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
This commit is contained in:
Frank S. Filz 2016-04-18 11:33:16 -07:00
parent 45219e0e2a
commit 8ba0a9cb54
2 changed files with 13 additions and 0 deletions

View File

@ -1434,6 +1434,10 @@ int ceph_ll_create(struct ceph_mount_info *cmount, struct Inode *parent,
const char *name, mode_t mode, int flags,
struct stat *attr, struct Inode **out, Fh **fhp,
int uid, int gid);
int ceph_ll_mknod(struct ceph_mount_info *cmount, struct Inode *parent,
const char *name, mode_t mode, dev_t rdev,
struct stat *attr, struct Inode **out,
int uid, int gid);
int ceph_ll_mkdir(struct ceph_mount_info *cmount, struct Inode *parent,
const char *name, mode_t mode, struct stat *attr,
Inode **out, int uid, int gid);

View File

@ -1515,6 +1515,15 @@ extern "C" int ceph_ll_create(class ceph_mount_info *cmount,
attr, out, fhp, uid, gid);
}
extern "C" int ceph_ll_mknod(class ceph_mount_info *cmount,
struct Inode *parent, const char *name,
mode_t mode, dev_t rdev, struct stat *attr,
struct Inode **out, int uid, int gid)
{
return (cmount->get_client())->ll_mknod(parent, name, mode, rdev,
attr, out, uid, gid);
}
extern "C" int ceph_ll_mkdir(class ceph_mount_info *cmount,
Inode *parent, const char *name,
mode_t mode, struct stat *attr, Inode **out,