Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754212Ab0F3I4R (ORCPT ); Wed, 30 Jun 2010 04:56:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28296 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753850Ab0F3I4P (ORCPT ); Wed, 30 Jun 2010 04:56:15 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <201006301030.52235.arnd@arndb.de> References: <201006301030.52235.arnd@arndb.de> <20100630011656.18960.4255.stgit@warthog.procyon.org.uk> <20100630011712.18960.3723.stgit@warthog.procyon.org.uk> To: Arnd Bergmann Cc: dhowells@redhat.com, viro@zeniv.linux.org.uk, smfrench@gmail.com, jlayton@redhat.com, mcao@us.ibm.com, aneesh.kumar@linux.vnet.ibm.com, linux-cifs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, samba-technical@lists.samba.org, sjayaraman@suse.de, linux-ext4@vger.kernel.org Subject: Re: [PATCH 3/3] Add a pair of system calls to make extended file stats available [ver #2] Date: Wed, 30 Jun 2010 09:55:51 +0100 Message-ID: <25470.1277888151@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 712 Lines: 22 Arnd Bergmann wrote: > I think it would be better to leave the structure as write-only from > the kernel Why? > and pass the query_flags and struct_version as syscall arguments, though it > makes sense to store them in the result as well. The problem with that is that the number of syscall arguments is limited, and there is no SYSCALL_DEFINE7. On the other hand, I could make a separate argument block struct and pass a pointer to it... David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/