summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-11-18 23:44:43 +0000
committerThomas Bushnell <thomas@gnu.org>1996-11-18 23:44:43 +0000
commit729604c529d2165284b75de79ea9d42642b58950 (patch)
tree0e0073f492e6aa6c47f1637eb2117c4b093c30be /ext2fs
parent5a49fc0097b833965c8d82900dc5021b9d5b66db (diff)
Sat Nov 16 17:26:20 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* storeinfo.c (diskfs_S_file_get_storage_info): diskfs_isuid -> idvec_contains.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/ChangeLog5
-rw-r--r--ext2fs/storeinfo.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ext2fs/ChangeLog b/ext2fs/ChangeLog
index 1bcc0682..ff805220 100644
--- a/ext2fs/ChangeLog
+++ b/ext2fs/ChangeLog
@@ -1,3 +1,8 @@
+Sat Nov 16 17:26:20 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * storeinfo.c (diskfs_S_file_get_storage_info): diskfs_isuid ->
+ idvec_contains.
+
Tue Nov 12 17:53:08 1996 Miles Bader <miles@gnu.ai.mit.edu>
* inode.c (diskfs_validate_flags_change): New function.
diff --git a/ext2fs/storeinfo.c b/ext2fs/storeinfo.c
index f5fae6c5..55197069 100644
--- a/ext2fs/storeinfo.c
+++ b/ext2fs/storeinfo.c
@@ -110,7 +110,7 @@ diskfs_S_file_get_storage_info (struct protid *cred,
{
err = store_remap (file_store, runs, num_runs, &file_store);
if (!err
- && !diskfs_isuid (0, cred)
+ && !idvec_contains (cred->user->uids, 0)
&& !store_is_securely_returnable (file_store, cred->po->openstat))
{
err = store_set_flags (file_store, STORE_INACTIVE);