diff options
Diffstat (limited to 'libnetfs/file-chauthor.c')
-rw-r--r-- | libnetfs/file-chauthor.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libnetfs/file-chauthor.c b/libnetfs/file-chauthor.c index bfb0ef64..1ed305bb 100644 --- a/libnetfs/file-chauthor.c +++ b/libnetfs/file-chauthor.c @@ -18,6 +18,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ +#include "netfs.h" +#include "fs_S.h" + error_t netfs_S_file_chauthor (struct protid *user, uid_t author) @@ -28,7 +31,7 @@ netfs_S_file_chauthor (struct protid *user, return EOPNOTSUPP; mutex_lock (&user->po->np->lock); - err = netfs_attempt_chown (user->credential, user->po->np, author); + err = netfs_attempt_chauthor (user->credential, user->po->np, author); mutex_unlock (&user->po->np->lock); return err; } |