Re: 2.6.9-rc2-mm3 - [PATCH] tmpfs xattr fix

From: James Morris
Date: Fri Sep 24 2004 - 12:07:39 EST


Andrew, please add this fix for a typo in the new tmpfs xattr code.

Signed-off-by: James Morris <jmorris@xxxxxxxxxx>


diff -purN -X dontdiff linux-2.6.9-rc2-mm3.o/mm/shmem.c linux-2.6.9-rc2-mm3.w/mm/shmem.c
--- linux-2.6.9-rc2-mm3.o/mm/shmem.c 2004-09-24 10:46:41.000000000 -0400
+++ linux-2.6.9-rc2-mm3.w/mm/shmem.c 2004-09-24 12:54:39.000000000 -0400
@@ -2085,7 +2085,7 @@ static struct vm_operations_struct shmem
static size_t shmem_xattr_security_list(struct inode *inode, char *list, size_t list_len,
const char *name, size_t name_len)
{
- return security_inode_listsecurity(inode, list, name_len);
+ return security_inode_listsecurity(inode, list, list_len);
}

static int shmem_xattr_security_get(struct inode *inode, const char *name, void *buffer, size_t size)

-
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/