fuse_nfs: Add chown
Libnfs already has exports for chown, hook them up to the fuse example. Signed-off-by: Alexander Graf <agraf@suse.de>libnfs-4.0.0-vitalif
parent
315112b923
commit
b66121610d
|
@ -222,8 +222,14 @@ static int fuse_nfs_chmod(const char *path, mode_t mode)
|
|||
return nfs_chmod(nfs, path, mode);
|
||||
}
|
||||
|
||||
static int fuse_nfs_chown(const char *path, uid_t uid, gid_t gid)
|
||||
{
|
||||
return nfs_chown(nfs, path, uid, gid);
|
||||
}
|
||||
|
||||
static struct fuse_operations nfs_oper = {
|
||||
.chmod = fuse_nfs_chmod,
|
||||
.chown = fuse_nfs_chown,
|
||||
.create = fuse_nfs_create,
|
||||
.getattr = fuse_nfs_getattr,
|
||||
.link = fuse_nfs_link,
|
||||
|
|
Loading…
Reference in New Issue