diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-11-13 21:42:39 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-11-13 21:42:39 +0000 |
commit | dae2301bcf5851e72e3567eca3bbfcef1dc121d1 (patch) | |
tree | 08850ec28cb0a155b5719ce6a8ff95681d6219df /libnetfs/file-chauthor.c | |
parent | ee680eaffc00d09a801a13038651f8e83278602c (diff) |
entered into RCS
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; } |