kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Why use "." in the struct in this way?
@ 2013-07-29 14:56 lx
  2013-07-29 15:20 ` Prashant Shah
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: lx @ 2013-07-29 14:56 UTC (permalink / raw)
  To: kernelnewbies

hi all:
       why use the struct in this way by "."

for example, *.owner* instead of *owner* , why?
Thank you.

1203 <http://lxr.oss.org.cn/source/fs/ext2/super.c?v=2.6.16#L1203>
static struct file_system_type
<http://lxr.oss.org.cn/ident?v=2.6.16;i=file_system_type> ext2_fs_type
<http://lxr.oss.org.cn/ident?v=2.6.16;i=ext2_fs_type> = {1204
<http://lxr.oss.org.cn/source/fs/ext2/super.c?v=2.6.16#L1204>
.owner          = THIS_MODULE
<http://lxr.oss.org.cn/ident?v=2.6.16;i=THIS_MODULE>,1205
<http://lxr.oss.org.cn/source/fs/ext2/super.c?v=2.6.16#L1205>
.name <http://lxr.oss.org.cn/ident?v=2.6.16;i=name>           =
*"ext2"*,1206 <http://lxr.oss.org.cn/source/fs/ext2/super.c?v=2.6.16#L1206>
        .get_sb <http://lxr.oss.org.cn/ident?v=2.6.16;i=get_sb>
 = ext2_get_sb <http://lxr.oss.org.cn/ident?v=2.6.16;i=ext2_get_sb>,1207
<http://lxr.oss.org.cn/source/fs/ext2/super.c?v=2.6.16#L1207>
.kill_sb        = kill_block_super
<http://lxr.oss.org.cn/ident?v=2.6.16;i=kill_block_super>,1208
<http://lxr.oss.org.cn/source/fs/ext2/super.c?v=2.6.16#L1208>
.fs_flags       = FS_REQUIRES_DEV
<http://lxr.oss.org.cn/ident?v=2.6.16;i=FS_REQUIRES_DEV>,1209
<http://lxr.oss.org.cn/source/fs/ext2/super.c?v=2.6.16#L1209> };1210
<http://lxr.oss.org.cn/source/fs/ext2/super.c?v=2.6.16#L1210>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130729/b02d656d/attachment.html 

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

end of thread, other threads:[~2013-07-29 15:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29 14:56 Why use "." in the struct in this way? lx
2013-07-29 15:20 ` Prashant Shah
2013-07-29 15:22 ` Alexandru Juncu
2013-07-29 15:24 ` Dave Hellewell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).