From 68df1ae9313ff5f059a2d795e7ae913f87497ff4 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Thu, 5 Jun 1997 18:16:41 +0000 Subject: Tue May 27 11:55:56 1997 Thomas Bushnell, n/BSG * file-chmod.c (diskfs_S_file_chmod): Turn off S_ITRANS bits too. --- libdiskfs/file-chmod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdiskfs/file-chmod.c') 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, ({ -- cgit v1.2.3