From: "\"潘卫平(Peter Pan)\"" <wppan@redflag-linux.com>
To: unlisted-recipients:; (no To-header on input)
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 01/28] daily commit
Date: Fri, 27 Aug 2010 18:56:58 +0800 [thread overview]
Message-ID: <4C7799FA.5050403@redflag-linux.com> (raw)
In-Reply-To: <1282894186-29199-1-git-send-email-wppan@redflag-linux.com>
On 2010年08月27日 15:29, Peter Pan(潘卫平) wrote:
> From: Peter Pan<wppan@redflag-linux.com>
>
> Signed-off-by: Peter Pan<wppan@redflag-linux.com>
> ---
> include/linux/fs.h | 7 ++++---
> 1 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/include/linux/fs.h b/include/linux/fs.h
> index 44f35ae..8382a33 100644
> --- a/include/linux/fs.h
> +++ b/include/linux/fs.h
> @@ -1335,7 +1335,7 @@ struct super_block {
> struct mutex s_lock;
> int s_count;
> int s_need_sync;
> - atomic_t s_active;
> + atomic_t s_active; // 活动引用计数
> #ifdef CONFIG_SECURITY
> void *s_security;
> #endif
> @@ -1343,7 +1343,7 @@ struct super_block {
>
> struct list_head s_inodes; /* all inodes */
> struct hlist_head s_anon; /* anonymous dentries for (nfs) exporting */
> - struct list_head s_files;
> + struct list_head s_files; // ????????被分区的文件链表????????
> /* s_dentry_lru and s_nr_dentry_unused are protected by dcache_lock */
> struct list_head s_dentry_lru; /* unused dentry lru */
> int s_nr_dentry_unused; /* # of dentry on lru */
> @@ -1358,7 +1358,8 @@ struct super_block {
> wait_queue_head_t s_wait_unfrozen;
>
> char s_id[32]; /* Informational name */
> -
> +
> + // 指å‘具体的文件系统。如ext2指å‘ext2_sb_info(å³å†…å˜ä¸çš„ext2_super_block)
> void *s_fs_info; /* Filesystem private info */
> fmode_t s_mode;
>
?????????????
--
潘卫平
Peter Pan
Red Flag Software Co.,Ltd
parent reply other threads:[~2010-08-27 10:57 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1282894186-29199-1-git-send-email-wppan@redflag-linux.com>]
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=4C7799FA.5050403@redflag-linux.com \
--to=wppan@redflag-linux.com \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.