[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9462.1532729545@warthog.procyon.org.uk>
Date: Fri, 27 Jul 2018 23:12:25 +0100
From: David Howells <dhowells@...hat.com>
To: Andy Lutomirski <luto@...capital.net>
Cc: dhowells@...hat.com, Al Viro <viro@...iv.linux.org.uk>,
Linux API <linux-api@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux FS Devel <linux-fsdevel@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 34/38] vfs: syscall: Add fsinfo() to query filesystem information [ver #10]
Andy Lutomirski <luto@...capital.net> 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?
I don't know. I've certainly posted it before.
> > 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?
It looks better IMO, particularly for enum constants. I'm not sure if there
are any rules about this in system vs user definitions.
David
Powered by blists - more mailing lists