[lkml]   [2009]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCHv2 1/5] VFS: DazukoFS, stackable-fs, file access control

On Thursday 2009-02-12 16:31, Al Viro wrote:
>On Thu, Feb 12, 2009 at 04:27:14PM +0100, Jan Engelhardt wrote:
>> This ought to be done better in light of the problem that one
>> could issue `mount -t dazukofs /mnt /opt`
>> In kernel code, I'm thinking something like
>> static int foofs_dothis(...)
>> {
>> buf = call d_path on sb->s_root
>Call what on what? There is no such thing as the mountpoint of superblock.
In fs/namespace.c:do_new_mount there is 'path'. If 'path' was passed
down to the filesystem, path->dentry, I would assume, could be used
by the filesystem as a pointer to the original directory which
dazuko is going to shadow.

 \ /
  Last update: 2009-02-12 17:03    [W:0.060 / U:13.048 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site