login
Login
/
Register
Search
Header Space
Forums
News
Jobs
Blogs
Features
Man Pages
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
5
Re: [2.6 patch] fs/dlm/: proper prototypes
view
thread
Score:
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
David Teigland <teigland@...>
To: Adrian Bunk <bunk@...>
Cc: <pcaulfie@...>, <cluster-devel@...>, <linux-kernel@...>
Subject:
Re: [2.6 patch] fs/dlm/: proper prototypes
Date: Monday, November 5, 2007 - 10:42 am
On Sat, Nov 03, 2007 at 01:04:30AM +0100, Adrian Bunk wrote:
quoted text
> This patch adds a proper prototype for some functions in > fs/dlm/dlm_internal.h
Acked-by: David Teigland <teigland@redhat.com>
quoted text
> Signed-off-by: Adrian Bunk <bunk@kernel.org> > > --- > > fs/dlm/dlm_internal.h | 16 ++++++++++++++++ > fs/dlm/lock.c | 1 - > fs/dlm/lockspace.c | 8 -------- > fs/dlm/main.c | 10 ---------- > 4 files changed, 16 insertions(+), 19 deletions(-) > > 11349b53af8d04ff007660d9142e2382033f5d8f > diff --git a/fs/dlm/dlm_internal.h b/fs/dlm/dlm_internal.h > index d2fc238..ec61bba 100644 > --- a/fs/dlm/dlm_internal.h > +++ b/fs/dlm/dlm_internal.h > @@ -570,5 +570,21 @@ static inline int dlm_no_directory(struct dlm_ls *ls) > return (ls->ls_exflags & DLM_LSFL_NODIR) ? 1 : 0; > } > > +int dlm_netlink_init(void); > +void dlm_netlink_exit(void); > +void dlm_timeout_warn(struct dlm_lkb *lkb); > + > +#ifdef CONFIG_DLM_DEBUG > +int dlm_register_debugfs(void); > +void dlm_unregister_debugfs(void); > +int dlm_create_debug_file(struct dlm_ls *ls); > +void dlm_delete_debug_file(struct dlm_ls *ls); > +#else > +static inline int dlm_register_debugfs(void) { return 0; } > +static inline void dlm_unregister_debugfs(void) { } > +static inline int dlm_create_debug_file(struct dlm_ls *ls) { return 0; } > +static inline void dlm_delete_debug_file(struct dlm_ls *ls) { } > +#endif > + > #endif /* __DLM_INTERNAL_DOT_H__ */ > > diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c > index 3915b8e..7bc6ad9 100644 > --- a/fs/dlm/lock.c > +++ b/fs/dlm/lock.c > @@ -88,7 +88,6 @@ static void __receive_convert_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, > static int receive_extralen(struct dlm_message *ms); > static void do_purge(struct dlm_ls *ls, int nodeid, int pid); > static void del_timeout(struct dlm_lkb *lkb); > -void dlm_timeout_warn(struct dlm_lkb *lkb); > > /* > * Lock compatibilty matrix - thanks Steve > diff --git a/fs/dlm/lockspace.c b/fs/dlm/lockspace.c > index 6353a83..b99485b 100644 > --- a/fs/dlm/lockspace.c > +++ b/fs/dlm/lockspace.c > @@ -24,14 +24,6 @@ > #include "recover.h" > #include "requestqueue.h" > > -#ifdef CONFIG_DLM_DEBUG > -int dlm_create_debug_file(struct dlm_ls *ls); > -void dlm_delete_debug_file(struct dlm_ls *ls); > -#else > -static inline int dlm_create_debug_file(struct dlm_ls *ls) { return 0; } > -static inline void dlm_delete_debug_file(struct dlm_ls *ls) { } > -#endif > - > static int ls_count; > static struct mutex ls_lock; > static struct list_head lslist; > diff --git a/fs/dlm/main.c b/fs/dlm/main.c > index eca2907..58487fb 100644 > --- a/fs/dlm/main.c > +++ b/fs/dlm/main.c > @@ -18,16 +18,6 @@ > #include "memory.h" > #include "config.h" > > -#ifdef CONFIG_DLM_DEBUG > -int dlm_register_debugfs(void); > -void dlm_unregister_debugfs(void); > -#else > -static inline int dlm_register_debugfs(void) { return 0; } > -static inline void dlm_unregister_debugfs(void) { } > -#endif > -int dlm_netlink_init(void); > -void dlm_netlink_exit(void); > - > static int __init init_dlm(void) > { > int error;
-
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:
[2.6 patch] fs/dlm/: proper prototypes
, Adrian Bunk
, (Fri Nov 2, 8:04 pm)
Re: [2.6 patch] fs/dlm/: proper prototypes
, David Teigland
, (Mon Nov 5, 10:42 am)
Re: [Cluster-devel] Re: [2.6 patch] fs/dlm/: proper prototypes
, Steven Whitehouse
, (Wed Nov 7, 5:09 am)
Navigation
Create content
Mailing list archives
Recent posts
Mail archive search
Enter your search terms.
all mailing lists
alsa-devel
dragonflybsd-bugs
dragonflybsd-commit
dragonflybsd-docs
dragonflybsd-kernel
dragonflybsd-submit
dragonflybsd-user
freebsd-announce
freebsd-bugs
freebsd-chat
freebsd-cluster
freebsd-current
freebsd-drivers
freebsd-embeded
freebsd-fs
freebsd-hackers
freebsd-hardware
freebsd-mobile
freebsd-net
freebsd-performance
freebsd-pf
freebsd-security
freebsd-security-notifications
freebsd-threads
git
git-commits-head
linux-activists
linux-arm
linux-ath5k-devel
linux-btrfs
linux-c-programming
linux-driver-devel
linux-ext4
linux-fsdevel
linux-ia64
linux-input
linux-kernel
linux-kernel-janitors
linux-kernel-mentors
linux-kernel-newbies
linux-kvm
linux-net
linux-netdev
linux-newbie
linux-nfs
linux-raid
linux-scsi
linux-security-module
linux-sparse
linux-usb
linux-usb-devel
madwifi-devel
netbsd-announce
netbsd-tech-kern
open-graphics
open-graphics-announce-kt
openbsd-announce
openbsd-bugs
openbsd-ipv6
openbsd-misc
openbsd-security-announce
openbsd-smp
openbsd-source-changes
openbsd-tech
openfabrics-general
openmoko-community
openmoko-devel
openmoko-kernel
reiserfs-devel
tux3
ucarp
Optionally limit your search to a specific mailing list.
advanced
Popular discussions
linux-kernel
:
Chuck Ebbert
Why do so many machines need "noapic"?
Renato S. Yamane
Error -71 on device descriptor read/all
Greg Kroah-Hartman
[PATCH 05/54] kset: convert fuse to use kset_create
Greg KH
[GIT PATCH] driver core patches against 2.6.24
git
:
R. Tyler Ballance
Public repro case! Re: [PATCH/RFC] Allow writing loose objects that are corrupted ...
Shawn O. Pearce
Re: Some ideas for StGIT
Alexander Litvinov
git-svn does not seems to work with crlf convertion enabled.
Wink Saville
Resolving conflicts
linux-netdev
:
John P Poet
Realtek 8111C transmit timed out
Rémi Denis-Courmont
Re: [PATCH] Security: Implement and document RLIMIT_NETWORK.
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
openbsd-misc
:
Jason Beaudoin
Re: Real men don't attack straw men
Parvinder Bhasin
BIND and CNAME-ing
Manuel Ravasio
Annoying problem with dnsmasq
Craig Skinner
Re: How can i boot a bsd.rd from windows 2000 ?
Latest forum posts
drivers for motherboard d101ggc
3 hours ago
Linux general
Tune CFS for htpc usage to decoding HD 1080p x264 video streams
15 hours ago
Linux kernel
Calling functions from system call
17 hours ago
Linux kernel
How to write in kernel memory
17 hours ago
Linux kernel
linux_wrappers.c:306: error: unknown field ‘nopage’ specified in initializer
17 hours ago
Linux kernel
Packet Replay Check
23 hours ago
FreeBSD
Cannot rdr from internal network to a squid proxy running on pf bridge firewall.
1 day ago
OpenBSD
Cannot compile kernel modules
1 day ago
Linux kernel
Intelligent enclosure (SES, SAF-TE) monitoring & configuration
3 days ago
Applications and Utilities
I/O operations
3 days ago
Linux kernel
Show all forums...
Recent Tags
more tags
Colocation donated by:
Who's online
There are currently
3 users
and
1205 guests
online.
Online users
strcmp
TheBashar
Duim
Syndicate
speck-geostationary