linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] A few comments on hostfs interface
@ 2004-04-21  8:29 Paul Wagland
  2004-04-21 15:15 ` [uml-devel] " Jeff Dike
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Wagland @ 2004-04-21  8:29 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Piotr Neuman, Jeff Dike

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-21 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-21  8:29 [uml-devel] A few comments on hostfs interface Paul Wagland
2004-04-21 15:15 ` [uml-devel] " Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox