Commit f382894e authored by Steven Whitehouse's avatar Steven Whitehouse

[GFS2] 80 Column audit of locking modules

Requested by:
Prarit Bhargava <prarit@redhat.com>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 568f4c96
...@@ -22,7 +22,8 @@ int __init init_lock_dlm(void) ...@@ -22,7 +22,8 @@ int __init init_lock_dlm(void)
error = gfs_register_lockproto(&gdlm_ops); error = gfs_register_lockproto(&gdlm_ops);
if (error) { if (error) {
printk(KERN_WARNING "lock_dlm: can't register protocol: %d\n", error); printk(KERN_WARNING "lock_dlm: can't register protocol: %d\n",
error);
return error; return error;
} }
...@@ -42,7 +43,8 @@ int __init init_lock_dlm(void) ...@@ -42,7 +43,8 @@ int __init init_lock_dlm(void)
gdlm_drop_count = GDLM_DROP_COUNT; gdlm_drop_count = GDLM_DROP_COUNT;
gdlm_drop_period = GDLM_DROP_PERIOD; gdlm_drop_period = GDLM_DROP_PERIOD;
printk(KERN_INFO "Lock_DLM (built %s %s) installed\n", __DATE__, __TIME__); printk(KERN_INFO
"Lock_DLM (built %s %s) installed\n", __DATE__, __TIME__);
return 0; return 0;
} }
......
...@@ -243,11 +243,13 @@ int __init init_nolock(void) ...@@ -243,11 +243,13 @@ int __init init_nolock(void)
error = gfs_register_lockproto(&nolock_ops); error = gfs_register_lockproto(&nolock_ops);
if (error) { if (error) {
printk(KERN_WARNING "lock_nolock: can't register protocol: %d\n", error); printk(KERN_WARNING
"lock_nolock: can't register protocol: %d\n", error);
return error; return error;
} }
printk(KERN_INFO "Lock_Nolock (built %s %s) installed\n", __DATE__, __TIME__); printk(KERN_INFO
"Lock_Nolock (built %s %s) installed\n", __DATE__, __TIME__);
return 0; return 0;
} }
......
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