From 62fe5978be4fc1827af6e9dd54ad3ae2f9c7168c Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 20 Nov 1996 02:57:38 +0000 Subject: (diskfs_S_file_chown): If NP->author_tracks_uid, modify NP->dn_stat.st_author as well. --- libdiskfs/file-chown.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libdiskfs/file-chown.c') diff --git a/libdiskfs/file-chown.c b/libdiskfs/file-chown.c index c2e13384..0a614338 100644 --- a/libdiskfs/file-chown.c +++ b/libdiskfs/file-chown.c @@ -41,6 +41,8 @@ diskfs_S_file_chown (struct protid *cred, { np->dn_stat.st_uid = uid; np->dn_stat.st_gid = gid; + if (np->author_tracks_uid) + np->dn_stat.st_author = uid; np->dn_set_ctime = 1; } } -- cgit v1.2.3