From: Paul Wagland <paul@kungfoocoder.org>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Piotr Neuman <sikkh@wp.pl>, Jeff Dike <jdike@addtoit.com>
Subject: [uml-devel] A few comments on hostfs interface
Date: Wed, 21 Apr 2004 10:29:13 +0200 [thread overview]
Message-ID: <F87C6818-936D-11D8-B5AA-000A95CD704C@kungfoocoder.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 898 bytes --]
Hi all,
These comments are based on the development code as provided by sikkh,
as such not everything might be relevant, but I believe that the
primary code changed by sikkh is in the metadata interface.
Anyway, here goes:
hostfs.h:
struct externfs_file_ops:
Almost all of the functions have the naming form verb_noun, except
for file_create(). I would suggest to reverse this for the sake of
consistency.
Most functions have "long names" that is open_file, link_file,
access_file, etc. The exceptions to this are mkdir(), rmdir(), mknod(),
readlink(), and statfs(). This cannot be done to "keep standard
semantics" since open_dir() is not in it's standard form either. I
would suggest to rename all of the "short form" functions into the
standardised form.
Jeff, if you agree with the above, let me know, and you will receive a
patch for it later today.
Cheers,
Paul
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 186 bytes --]
next reply other threads:[~2004-04-21 8:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-21 8:29 Paul Wagland [this message]
2004-04-21 15:15 ` [uml-devel] Re: A few comments on hostfs interface Jeff Dike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F87C6818-936D-11D8-B5AA-000A95CD704C@kungfoocoder.org \
--to=paul@kungfoocoder.org \
--cc=jdike@addtoit.com \
--cc=sikkh@wp.pl \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox