Re: [PATCH 3/20] Introduce MS_KERNMOUNT flag

2007-08-13 Thread Pavel Emelyanov
Christoph Hellwig wrote: On Fri, Aug 10, 2007 at 03:47:55PM +0400, [EMAIL PROTECTED] wrote: This flag tells the .get_sb callback that this is a kern_mount() call so that it can trust *data pointer to be valid in-kernel one. If this flag is passed from the user process, it is cleared since the *d

Re: [PATCH 3/20] Introduce MS_KERNMOUNT flag

2007-08-11 Thread Oleg Nesterov
On 08/11, Christoph Hellwig wrote: > > On Fri, Aug 10, 2007 at 03:47:55PM +0400, [EMAIL PROTECTED] wrote: > > This flag tells the .get_sb callback that this is a kern_mount() call > > so that it can trust *data pointer to be valid in-kernel one. If this > > flag is passed from the user process, it

Re: [PATCH 3/20] Introduce MS_KERNMOUNT flag

2007-08-10 Thread Christoph Hellwig
On Fri, Aug 10, 2007 at 03:47:55PM +0400, [EMAIL PROTECTED] wrote: > This flag tells the .get_sb callback that this is a kern_mount() call > so that it can trust *data pointer to be valid in-kernel one. If this > flag is passed from the user process, it is cleared since the *data > pointer is not a

[PATCH 3/20] Introduce MS_KERNMOUNT flag

2007-08-10 Thread xemul
This flag tells the .get_sb callback that this is a kern_mount() call so that it can trust *data pointer to be valid in-kernel one. If this flag is passed from the user process, it is cleared since the *data pointer is not a valid kernel object. Running a few steps forward - this will be needed fo