mirror of
https://github.com/ceph/ceph
synced 2025-01-01 16:42:29 +00:00
Add ceph_ll_mknod wrapper for ll_mknod
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
This commit is contained in:
parent
45219e0e2a
commit
8ba0a9cb54
@ -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);
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user