login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
20
Re: + nfsd-use-proc_create-to-setup-de-proc_fops.patch added to -mm tree
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Alexey Dobriyan <adobriyan@...>
To: <akpm@...>
Cc: <linux-kernel@...>, <den@...>, <bfields@...>, <ebiederm@...>, <neilb@...>
Subject:
Re: + nfsd-use-proc_create-to-setup-de-proc_fops.patch added to -mm tree
Date: Sunday, April 20, 2008 - 10:37 am
On Tue, Apr 15, 2008 at 04:55:57PM -0700,
akpm@linux-foundation.org
wrote:
quoted text
> --- a/fs/nfsd/nfsctl.c~nfsd-use-proc_create-to-setup-de-proc_fops > +++ a/fs/nfsd/nfsctl.c
quoted text
> @@ -736,10 +737,9 @@ static int create_proc_exports_entry(voi > entry = proc_mkdir("fs/nfs", NULL); > if (!entry) > return -ENOMEM; > - entry = create_proc_entry("fs/nfs/exports", 0, NULL); > + entry = proc_create("exports", 0, entry, &exports_operations);
^^^^^^^^^
quoted text
> if (!entry) > return -ENOMEM; > - entry->proc_fops = &exports_operations;
"fs/nfs/exports" is used in full in this file. And line will fit into 80 columns. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [thread] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: + nfsd-use-proc_create-to-setup-de-proc_fops.patch added...
, Alexey Dobriyan
, (Sun Apr 20, 10:37 am)
Re: + nfsd-use-proc_create-to-setup-de-proc_fops.patch added...
, Denis V. Lunev
, (Sun Apr 20, 12:21 pm)
Re: + nfsd-use-proc_create-to-setup-de-proc_fops.patch added...
, Alexey Dobriyan
, (Sun Apr 20, 2:48 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andrew Morton
-mm merge plans for 2.6.23
Greg Kroah-Hartman
[PATCH 005/196] Chinese: add translation of SubmittingDrivers
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Roland Dreier
Re: Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Jan Kara
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
615 guests
online.
Online users
zeekec
Jeremy
Syndicate