Re: [PATCH 5/8] Make 'check_acl()' a first-class filesystem op

From: James Morris
Date: Mon Sep 07 2009 - 18:21:20 EST


On Mon, 7 Sep 2009, Linus Torvalds wrote:

>
> From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Date: Fri, 28 Aug 2009 11:51:25 -0700
>
> This is stage one in flattening out the callchains for the common
> permission testing. Rather than have most filesystem implemnt their
> inode->i_op->permission own function that just calls back down to the
> VFS layers 'generic_permission()' with the per-filesystem ACL checking
> function, the filesystem can just expose its 'check_acl' function
> directly, and let the VFS layer do everything for it.
>
> This is all just preparatory - no filesystem actually enables this yet.
>
> Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

Reviewed-by: James Morris <jmorris@xxxxxxxxx>

--
James Morris
<jmorris@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/