From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Lutomirski Subject: Re: [PATCH 34/38] vfs: syscall: Add fsinfo() to query filesystem information [ver #10] Date: Fri, 27 Jul 2018 12:35:08 -0700 Message-ID: References: <153271267980.9458.7640156373438016898.stgit@warthog.procyon.org.uk> <153271291017.9458.7827028432894772673.stgit@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <153271291017.9458.7827028432894772673.stgit@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org To: David Howells Cc: Al Viro , Linux API , Linus Torvalds , Linux FS Devel , LKML List-Id: linux-api@vger.kernel.org On Fri, Jul 27, 2018 at 10:35 AM, David Howells wrote: > Add a system call to allow filesystem information to be queried. A request > value can be given to indicate the desired attribute. Support is provided > for enumerating multi-value attributes. Has anyone seriously reviewed this? It might make sense to defer this to a followup patch set. Also: > params->request indicates the attribute/attributes to be queried. This can > be one of: > > fsinfo_attr_statfs - statfs-style info > fsinfo_attr_fsinfo - Information about fsinfo() Constants are almost always all caps. Is there any reason these are lowercase?