Kernelnewbies Mailing Lists
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview
thread

Why use "." in the struct in this way?

lx

July 29, 2013
2:56 p.m.

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>

Attachments:

  • attachment.html (text/html — 7.4 KB)
0 0
Reply
Sign in to reply online Use email software

Back to the thread

Back to the list

HyperKitty Powered by HyperKitty version 1.3.12.