diff options
author | Thomas Bushnell <thomas@gnu.org> | 1997-06-05 18:16:41 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1997-06-05 18:16:41 +0000 |
commit | 68df1ae9313ff5f059a2d795e7ae913f87497ff4 (patch) | |
tree | 1491b7b27c2e046882e2c2a78ed21f2a0db34f6b /libdiskfs/file-chmod.c | |
parent | dcd487f257e43103d7df5e89786001d5b1ebf218 (diff) |
Tue May 27 11:55:56 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* file-chmod.c (diskfs_S_file_chmod): Turn off S_ITRANS bits too.
Diffstat (limited to 'libdiskfs/file-chmod.c')
-rw-r--r-- | libdiskfs/file-chmod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/file-chmod.c b/libdiskfs/file-chmod.c index c27b5854..66c51a32 100644 --- a/libdiskfs/file-chmod.c +++ b/libdiskfs/file-chmod.c @@ -1,5 +1,5 @@ /* libdiskfs implementation of fs.defs: file_chmod - Copyright (C) 1992, 1993, 1994, 1996 Free Software Foundation + Copyright (C) 1992, 1993, 1994, 1996, 1997 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -22,7 +22,7 @@ error_t diskfs_S_file_chmod (struct protid *cred, mode_t mode) { - mode &= ~(S_IFMT | S_ISPARE); + mode &= ~(S_IFMT | S_ISPARE | S_ITRANS); CHANGE_NODE_FIELD (cred, ({ |