Re: Proposal: int (permission*)(struct dentry *, int)

From: G. Allen Morris III (gam3@groucho.ixlabs.com)
Date: Tue May 16 2000 - 11:16:21 EST


>>>"Roman V. Shaposhnick" said:
>
 [...]
>
> From my point of view, the main problem of the knfsd is that it tries
> to do the filesystem's job instead of querying it by something like:
> dentry_to_fhandle
> fhandle_to_dentry

There are 3 different issues with this that I know of

1) Is there a unique way to describe a `file' with some `n' bit number.

2) Does fhandle alway point to the same `file' even after a reboot.

3) a) Does fhandle point to the same `file' after that `file' is renamed.
   b) Is this true even after a reboot.

> Separate question is, what knfsd should do if fs does not provide those
> operations. Speaking for myself, I would suggest that the best way is
> just say that those filesystems are not exportable at all, but there can
> be some heuristic to solve this problem more flexible.
> Roman.

---------------------------------
       G. Allen Morris III

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:11 EST