Re: fsstack: struct path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



IMHO, the string "path" is so generic (and nice, short, and sweet :-), that
only higher-level layers such as the VFS should be allowed to define it.
All other layers that are somewhere below the VFS (drivers/md/dm-mpath.h and
reiserfs), should rename their struct path to something more specific.  If
anyone component can claim "first rights" for the name "struct path" -- it's
the VFS.

That said, 'pathnode' is also good, esp. if it better describes the contents
and use of this struct.  But I would still rename all other uses of 'struct
path' below the VFS.

Erez.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux