From 729604c529d2165284b75de79ea9d42642b58950 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Mon, 18 Nov 1996 23:44:43 +0000 Subject: Sat Nov 16 17:26:20 1996 Thomas Bushnell, n/BSG * storeinfo.c (diskfs_S_file_get_storage_info): diskfs_isuid -> idvec_contains. --- ext2fs/ChangeLog | 5 +++++ ext2fs/storeinfo.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * storeinfo.c (diskfs_S_file_get_storage_info): diskfs_isuid -> + idvec_contains. + Tue Nov 12 17:53:08 1996 Miles Bader * 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); -- cgit v1.2.3