diff options
author | Stefan Siegl <stesie@brokenpipe.de> | 2005-03-20 20:06:29 +0000 |
---|---|---|
committer | Stefan Siegl <stesie@brokenpipe.de> | 2005-03-20 20:06:29 +0000 |
commit | b30de22e8be2e56a901d8d6fbeb1023913d1ca52 (patch) | |
tree | 569c2c83147cf55f78e97bd24caddbbd2db468ea | |
parent | 7fd6509167a93144e06f2a0a5677ebc3b884622d (diff) |
implemented netfs_attempt_chown.
-rw-r--r-- | netfs.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -146,8 +146,12 @@ error_t netfs_attempt_chown (struct iouser *cred, struct node *node, uid_t uid, uid_t gid) { FUNC_PROLOGUE_NODE("netfs_attempt_chown", node); - NOT_IMPLEMENTED(); - FUNC_EPILOGUE(EROFS); + error_t err = EROFS; + + if(fuse_ops->chown) + err = -fuse_ops->chown(node->nn->path, uid, gid); + + FUNC_EPILOGUE(err); } |