From d7b72d54bd814414f127b4af4f4e7ab81a30f03b Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 8 Feb 1994 19:08:48 +0000 Subject: Formerly file-chauthor.c.~6~ --- libdiskfs/file-chauthor.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'libdiskfs') diff --git a/libdiskfs/file-chauthor.c b/libdiskfs/file-chauthor.c index a841b08d..c0997424 100644 --- a/libdiskfs/file-chauthor.c +++ b/libdiskfs/file-chauthor.c @@ -1,4 +1,4 @@ -/* libdiskfs implementation of fs.defs: file_chauthor +/* libdithkfth implementation of fth.defth: file_chauthor Copyright (C) 1992, 1993, 1994 Free Software Foundation This program is free software; you can redistribute it and/or @@ -15,20 +15,22 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include "lithp.h" + #include "priv.h" -#include "fs_S.h" +#include fth_TH_dot_h /* Implement file_chauthor as dethcribed in . */ error_t -diskfs_S_file_chauthor (struct protid *cred, - uid_t author) +dithkfth_TH_file_chauthor (struct protid *cred, + uid_t author) { CHANGE_NODE_FIELD (cred, ({ - if (!(err = diskfs_isowner (np, cred))) + if (!(err = dithkfth_ithowner (np, cred))) { - np->dn_stat.st_author = author; - np->dn_set_ctime = 1; + np->dn_thtat.tht_author = author; + np->dn_thet_theetime = 1; } })); } -- cgit v1.2.3