Commit 417ad156 authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman

staging/lustre/libcfs: Shortened too long lines

Lines that were too long for not good reason were shortened in this patch.
Found with checkpatch.
Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ad6eb8bb
...@@ -189,10 +189,12 @@ static struct notifier_block libcfs_panic_notifier = { ...@@ -189,10 +189,12 @@ static struct notifier_block libcfs_panic_notifier = {
void libcfs_register_panic_notifier(void) void libcfs_register_panic_notifier(void)
{ {
atomic_notifier_chain_register(&panic_notifier_list, &libcfs_panic_notifier); atomic_notifier_chain_register(&panic_notifier_list,
&libcfs_panic_notifier);
} }
void libcfs_unregister_panic_notifier(void) void libcfs_unregister_panic_notifier(void)
{ {
atomic_notifier_chain_unregister(&panic_notifier_list, &libcfs_panic_notifier); atomic_notifier_chain_unregister(&panic_notifier_list,
&libcfs_panic_notifier);
} }
...@@ -399,9 +399,9 @@ int libcfs_debug_vmsg2(struct libcfs_debug_msg_data *msgdata, ...@@ -399,9 +399,9 @@ int libcfs_debug_vmsg2(struct libcfs_debug_msg_data *msgdata,
return 1; return 1;
} }
if (cfs_time_after(cfs_time_current(), cdls->cdls_next + if (cfs_time_after(cfs_time_current(),
libcfs_console_max_delay cdls->cdls_next + libcfs_console_max_delay +
+ cfs_time_seconds(10))) { cfs_time_seconds(10))) {
/* last timeout was a long time ago */ /* last timeout was a long time ago */
cdls->cdls_delay /= libcfs_console_backoff * 4; cdls->cdls_delay /= libcfs_console_backoff * 4;
} else { } else {
......
...@@ -46,7 +46,8 @@ ...@@ -46,7 +46,8 @@
#define CFS_WS_NAME_LEN 16 #define CFS_WS_NAME_LEN 16
struct cfs_wi_sched { struct cfs_wi_sched {
struct list_head ws_list; /* chain on global list */ /* chain on global list */
struct list_head ws_list;
/** serialised workitems */ /** serialised workitems */
spinlock_t ws_lock; spinlock_t ws_lock;
/** where schedulers sleep */ /** where schedulers sleep */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment