Re: Subject: [PATCH 01/16] Squashfs: inode operations

2008-10-23 Thread Phillip Lougher
Geert Uytterhoeven wrote: Sparse with endian checking (make C=2 CHECKFLAGS="-D__CHECK_ENDIAN__") complains aibout these: | fs/squashfs/inode.c:306:25: warning: cast to restricted __le16 | fs/squashfs/inode.c:324:25: warning: cast to restricted __le16 and it seems to be right, as inode.i_mode i

Re: Subject: [PATCH 01/16] Squashfs: inode operations

2008-10-22 Thread Geert Uytterhoeven
On Fri, 17 Oct 2008, Phillip Lougher wrote: > --- /dev/null > +++ b/fs/squashfs/inode.c > + case SQUASHFS_BLKDEV_TYPE: > + case SQUASHFS_CHRDEV_TYPE: { > + struct squashfs_dev_inode *inodep = &id.dev; > + unsigned int rdev; > + > + if (!squashfs_read_met

Re: Subject: [PATCH 01/16] Squashfs: inode operations

2008-10-22 Thread Geert Uytterhoeven
On Fri, 17 Oct 2008, Phillip Lougher wrote: > --- /dev/null > +++ b/fs/squashfs/inode.c > +static int squashfs_new_inode(struct super_block *s, struct inode *i, > + struct squashfs_base_inode *inodeb) > +{ > + if (squashfs_get_id(s, le16_to_cpu(inodeb->uid), &i->i_u

Re: Subject: [PATCH 01/16] Squashfs: inode operations

2008-10-22 Thread Christoph Hellwig
On Tue, Oct 21, 2008 at 12:14:26PM -0400, David P. Quigley wrote: > I looked at where filesystems such as ext3 store these and it seems to > be in include/linux. I'm assuming this is because usespace utilities > like fsck need them. It seems wrong for userspace tools to have their > own private cop

Re: Subject: [PATCH 01/16] Squashfs: inode operations

2008-10-21 Thread Jörn Engel
On Tue, 21 October 2008 12:14:26 -0400, David P. Quigley wrote: > On Fri, 2008-10-17 at 18:53 +0200, Jörn Engel wrote: > > None of the comments below are a reason against mainline inclusion, imo. > > They should get handled, but whether that happens before or after a > > merge doesn't really matter

Re: Subject: [PATCH 01/16] Squashfs: inode operations

2008-10-21 Thread David P. Quigley
On Fri, 2008-10-17 at 18:53 +0200, Jörn Engel wrote: > None of the comments below are a reason against mainline inclusion, imo. > They should get handled, but whether that happens before or after a > merge doesn't really matter. > > On Fri, 17 October 2008 16:42:50 +0100, Phillip Lougher wrote: >

Re: Subject: [PATCH 01/16] Squashfs: inode operations

2008-10-20 Thread Phillip Lougher
Jörn Engel wrote: None of the comments below are a reason against mainline inclusion, imo. They should get handled, but whether that happens before or after a merge doesn't really matter. Yeah you're right regarding your comments. That's where code-review comes in handy, to spot things you do

Re: Subject: [PATCH 01/16] Squashfs: inode operations

2008-10-17 Thread Jörn Engel
None of the comments below are a reason against mainline inclusion, imo. They should get handled, but whether that happens before or after a merge doesn't really matter. On Fri, 17 October 2008 16:42:50 +0100, Phillip Lougher wrote: > > +#include > +#include > +#include Current verdict seems

Subject: [PATCH 01/16] Squashfs: inode operations

2008-10-17 Thread Phillip Lougher
Signed-off-by: Phillip Lougher <[EMAIL PROTECTED]> --- fs/squashfs/inode.c | 318 +++ 1 files changed, 318 insertions(+), 0 deletions(-) diff --git a/fs/squashfs/inode.c b/fs/squashfs/inode.c new file mode 100644 index 000..4782e1d --- /dev/nu