diff options
author | Miles Bader <miles@gnu.org> | 1996-11-20 02:56:04 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-11-20 02:56:04 +0000 |
commit | e39ead619261bcace5624908075114fc5cb4e426 (patch) | |
tree | 3d01a0a7a11d6e8d589c8cdc3972ff347f8eb814 /libdiskfs/node-create.c | |
parent | 6633c5e9147f8b97e8c97f2e6677e68441ce1ba6 (diff) |
(diskfs_create_node):
If NP->author_tracks_uid, modify NP->dn_stat.st_author as well.
Diffstat (limited to 'libdiskfs/node-create.c')
-rw-r--r-- | libdiskfs/node-create.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdiskfs/node-create.c b/libdiskfs/node-create.c index 1ff8ac2b..06a484d8 100644 --- a/libdiskfs/node-create.c +++ b/libdiskfs/node-create.c @@ -63,6 +63,8 @@ diskfs_create_node (struct node *dir, if (err) goto change_err; np->dn_stat.st_uid = newuid; + if (np->author_tracks_uid) + np->dn_stat.st_author = newuid; newgid = dir->dn_stat.st_gid; if (!idvec_contains (cred->user->gids, newgid)) |