Re: VFS 64-bit clean

Remy Card (card@excalibur.lip6.fr)
Sat, 28 Feb 1998 18:09:11 +0100


On Fri, Feb 27, 1998 at 08:25:46PM -0500, Theodore Y. Ts'o wrote:
> Date: Thu, 26 Feb 1998 23:57:20 GMT
> From: "Stephen C. Tweedie" <sct@dcs.ed.ac.uk>
>
> I would strongly recommend that we use i_faddr instead of i_dir_acl for
> this, since fragments are currently *completely* unused in all ext2fs
> variants, whereas there are patches waiting to be merged which use the
> acl fields.
>
> I would agree with Albert Calahan that we should use i_dir_acl. We can
> make sure the patches don't break by using #define's for i_dir_acl.

Well, the problem is that I chose quite a bad name for this field.
Actually, i_dir_acl contains a pointer to the default ACL that can be set
on a directory and is inherited by files and subdirectories. A file can
have i_file_acl set (if it has an explicit ACL) or i_dir_acl set (if it
has inherited the default ACL from its parent directory).

I should probably rename the two fields in my next patch:
i_file_acl -> i_acl and i_dir_acl -> i_default_acl.

Remy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu