Re: linux-next-20100608 will /bin/sh: scripts/basic/fixdep: Permission denied

From: Takeo Tung
Date: Sat Jun 12 2010 - 15:35:30 EST


Hello,

I was try this patch, seems all is normal now. thanks for your patch.

Best Regards,
Takeo Tung

--------------------------------------------------
From: "Christoph Hellwig" <hch@xxxxxx>
Sent: Saturday, June 12, 2010 5:49 PM
To: "Takeo Tung" <kernel@xxxxxxxxxxxx>
Cc: "Michal Marek" <mmarek@xxxxxxx>; <linux-kernel@xxxxxxxxxxxxxxx>; <viro@xxxxxxxxxxxxxxxxxx>; <sfr@xxxxxxxxxxxxxxxx>
Subject: Re: linux-next-20100608 will /bin/sh: scripts/basic/fixdep: Permission denied

Please try the patch below, looks like I did a horrible messup in the
last version of the patch:


Index: linux-2.6/fs/attr.c
===================================================================
--- linux-2.6.orig/fs/attr.c 2010-06-12 11:45:50.458003839 +0200
+++ linux-2.6/fs/attr.c 2010-06-12 11:45:59.103005305 +0200
@@ -34,7 +34,7 @@ int inode_change_ok(const struct inode *
* First check size constraints. These can't be overriden using
* ATTR_FORCE.
*/
- if (attr->ia_mode & ATTR_SIZE) {
+ if (ia_valid & ATTR_SIZE) {
int error = inode_newsize_ok(inode, attr->ia_size);
if (error)
return error;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/