ROOT_DEV usage in hostfs

2005-01-25 Thread Christoph Hellwig
Could someone explain why hosts does thnings like: if((ino-i_sb-s_dev == ROOT_DEV) (ino-i_uid == getuid())) ino-i_uid = 0; (in fs/hostfs/hostfs_kern.c:read_name()) and if(attr-ia_valid ATTR_UID){ if((dentry-d_inode-i_sb-s_dev == ROOT_DEV)

Re: ROOT_DEV usage in hostfs

2005-01-25 Thread Christoph Hellwig
It's also the last thing preventing us from exporting ROOT_DEV unexporting - To unsubscribe from this list: send the line unsubscribe linux-fsdevel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: ROOT_DEV usage in hostfs

2005-01-25 Thread Petr Baudis
Dear diary, on Tue, Jan 25, 2005 at 10:10:39AM CET, I got a letter, where Christoph Hellwig [EMAIL PROTECTED] told me, that... Could someone explain why hosts does thnings like: if((ino-i_sb-s_dev == ROOT_DEV) (ino-i_uid == getuid())) ino-i_uid = 0; (in

[PATCH] fat: fix writev(), add aio support

2005-01-25 Thread Christoph Hellwig
This patch fixes vectored write support on fat to do the nessecary non-standard action done in write() aswell. Also adds aio support and makes read/write wrappers around the aio version. --- 1.28/fs/fat/file.c 2005-01-21 06:02:08 +01:00 +++ edited/fs/fat/file.c2005-01-25 14:10:05

Re: [PATCH] fat: fix writev(), add aio support

2005-01-25 Thread OGAWA Hirofumi
Christoph Hellwig [EMAIL PROTECTED] writes: This patch fixes vectored write support on fat to do the nessecary non-standard action done in write() aswell. Also adds aio support and makes read/write wrappers around the aio version. The fatfs doesn't have the -direct_IO(), so the AIO stuff

Re: [RFC] shared subtrees

2005-01-25 Thread J. Bruce Fields
On Tue, Jan 25, 2005 at 04:47:04PM -0500, Mike Waychison wrote: Although Al hasn't explicitly defined the semantics for mount - --make-shared, I think the idea is that 'only' that mountpoint becomes tagged as shared (becomes a member of a p-node of size 1). On Thu, Jan 13, 2005 at 10:18:51PM

Re: [RFC] shared subtrees

2005-01-25 Thread Ram
On Tue, 2005-01-25 at 13:47, Mike Waychison wrote: ...snip... Question 2: When a mount gets propogated to a slave, but the slave has mounted something else at the same place, and hence that mount point is masked, what will happen? Concrete example: mount

Re: [RFC] shared subtrees

2005-01-25 Thread Ram
On Mon, 2005-01-17 at 09:32, J. Bruce Fields wrote: On Mon, Jan 17, 2005 at 06:11:50AM +, Al Viro wrote: No - I have been missing a typo. Make that if mountpoint of what we are moving OK, got it, so the point is that its not clear how you'd propagate the removal of the subtree

Re: [RFC] shared subtrees

2005-01-25 Thread Mike Waychison
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 J. Bruce Fields wrote: On Tue, Jan 25, 2005 at 04:47:04PM -0500, Mike Waychison wrote: Although Al hasn't explicitly defined the semantics for mount - --make-shared, I think the idea is that 'only' that mountpoint becomes tagged as shared (becomes