diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-02-27 12:07:05 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-02-27 12:07:05 -0500 |
commit | f382894e8889a64f8daf747db477a16da2d54eb0 (patch) | |
tree | 7a8523295650b3e9a0b5b0b4b8185094267dcfd8 /fs/gfs2/locking | |
parent | 568f4c9659a2225b0d29cf86feecbcf25c9045c8 (diff) |
[GFS2] 80 Column audit of locking modules
Requested by:
Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/locking')
-rw-r--r-- | fs/gfs2/locking/dlm/main.c | 6 | ||||
-rw-r--r-- | fs/gfs2/locking/nolock/main.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/fs/gfs2/locking/dlm/main.c b/fs/gfs2/locking/dlm/main.c index 1c0943de9408..3c9adf18fd9c 100644 --- a/fs/gfs2/locking/dlm/main.c +++ b/fs/gfs2/locking/dlm/main.c | |||
@@ -22,7 +22,8 @@ int __init init_lock_dlm(void) | |||
22 | 22 | ||
23 | error = gfs_register_lockproto(&gdlm_ops); | 23 | error = gfs_register_lockproto(&gdlm_ops); |
24 | if (error) { | 24 | if (error) { |
25 | printk(KERN_WARNING "lock_dlm: can't register protocol: %d\n", error); | 25 | printk(KERN_WARNING "lock_dlm: can't register protocol: %d\n", |
26 | error); | ||
26 | return error; | 27 | return error; |
27 | } | 28 | } |
28 | 29 | ||
@@ -42,7 +43,8 @@ int __init init_lock_dlm(void) | |||
42 | gdlm_drop_count = GDLM_DROP_COUNT; | 43 | gdlm_drop_count = GDLM_DROP_COUNT; |
43 | gdlm_drop_period = GDLM_DROP_PERIOD; | 44 | gdlm_drop_period = GDLM_DROP_PERIOD; |
44 | 45 | ||
45 | printk(KERN_INFO "Lock_DLM (built %s %s) installed\n", __DATE__, __TIME__); | 46 | printk(KERN_INFO |
47 | "Lock_DLM (built %s %s) installed\n", __DATE__, __TIME__); | ||
46 | return 0; | 48 | return 0; |
47 | } | 49 | } |
48 | 50 | ||
diff --git a/fs/gfs2/locking/nolock/main.c b/fs/gfs2/locking/nolock/main.c index 7ede0906b2c6..57f9e50832f0 100644 --- a/fs/gfs2/locking/nolock/main.c +++ b/fs/gfs2/locking/nolock/main.c | |||
@@ -243,11 +243,13 @@ int __init init_nolock(void) | |||
243 | 243 | ||
244 | error = gfs_register_lockproto(&nolock_ops); | 244 | error = gfs_register_lockproto(&nolock_ops); |
245 | if (error) { | 245 | if (error) { |
246 | printk(KERN_WARNING "lock_nolock: can't register protocol: %d\n", error); | 246 | printk(KERN_WARNING |
247 | "lock_nolock: can't register protocol: %d\n", error); | ||
247 | return error; | 248 | return error; |
248 | } | 249 | } |
249 | 250 | ||
250 | printk(KERN_INFO "Lock_Nolock (built %s %s) installed\n", __DATE__, __TIME__); | 251 | printk(KERN_INFO |
252 | "Lock_Nolock (built %s %s) installed\n", __DATE__, __TIME__); | ||
251 | return 0; | 253 | return 0; |
252 | } | 254 | } |
253 | 255 | ||