Re: understanding inode_permission and inode_mkdir

From: Javier Valencia (jvalencia@private)
Date: Wed Dec 01 2004 - 07:43:31 PST

Javier Valencia wrote:

> How interact these actions?
> If I don't let a dir-inode write access in inode_permission, how can 
> mkdir work?
> Lately, I saw that it can be stopped in inode_mkdir, but i don't 
> understand why some read/write permissions are used on 
> inode_permission and others don't.
> Also, how can i travel by a dentry tree from an struct inode?
> Thanks.

Finally i used d_find_alias to get dentry structure, and my code finally 
worked. I can stop actions in inode_permission now (including mkdir), 
but there is not lot info out there.

This archive was generated by hypermail 2.1.3 : Wed Dec 01 2004 - 07:44:42 PST