Re: [PATCH 15/35] Unionfs: Common file operations

2006-12-08 Thread Jan Engelhardt
On Dec 7 2006 23:16, Josef Sipek wrote: >> I think there was an ioctl for files to find out where a particular >> file lives on disk. > >That's the UNIONFS_IOCTL_QUERYFILE case. No I meant something that works on all filesystems, something generic, not unionfs-based. -`J' -- - To

Re: [PATCH 15/35] Unionfs: Common file operations

2006-12-08 Thread Jan Engelhardt
On Dec 7 2006 23:16, Josef Sipek wrote: I think there was an ioctl for files to find out where a particular file lives on disk. That's the UNIONFS_IOCTL_QUERYFILE case. No I meant something that works on all filesystems, something generic, not unionfs-based. -`J' -- - To

Re: [PATCH 15/35] Unionfs: Common file operations

2006-12-07 Thread Josef Sipek
On Tue, Dec 05, 2006 at 10:02:10PM +0100, Jan Engelhardt wrote: > On Dec 4 2006 07:30, Josef 'Jeff' Sipek wrote: > >+long unionfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) > >+{ > >+long err; > >+ > >+if ((err = unionfs_file_revalidate(file, 1))) > >+goto

Re: [PATCH 15/35] Unionfs: Common file operations

2006-12-07 Thread Josef Sipek
On Tue, Dec 05, 2006 at 10:02:10PM +0100, Jan Engelhardt wrote: On Dec 4 2006 07:30, Josef 'Jeff' Sipek wrote: +long unionfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) +{ +long err; + +if ((err = unionfs_file_revalidate(file, 1))) +goto out; + +

Re: [PATCH 15/35] Unionfs: Common file operations

2006-12-05 Thread Jan Engelhardt
On Dec 4 2006 07:30, Josef 'Jeff' Sipek wrote: >+long unionfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) >+{ >+ long err; >+ >+ if ((err = unionfs_file_revalidate(file, 1))) >+ goto out; >+ >+ /* check if asked for local commands */ >+ switch

Re: [PATCH 15/35] Unionfs: Common file operations

2006-12-05 Thread Jan Engelhardt
On Dec 4 2006 07:30, Josef 'Jeff' Sipek wrote: +long unionfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) +{ + long err; + + if ((err = unionfs_file_revalidate(file, 1))) + goto out; + + /* check if asked for local commands */ + switch (cmd) { +

[PATCH 15/35] Unionfs: Common file operations

2006-12-04 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch contains helper functions used through the rest of the code which pertains to files. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> ---

[PATCH 15/35] Unionfs: Common file operations

2006-12-04 Thread Josef 'Jeff' Sipek
From: Josef Jeff Sipek [EMAIL PROTECTED] This patch contains helper functions used through the rest of the code which pertains to files. Signed-off-by: Josef Jeff Sipek [EMAIL PROTECTED] Signed-off-by: David Quigley [EMAIL PROTECTED] Signed-off-by: Erez Zadok [EMAIL PROTECTED] ---