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