mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 08:34:20 +08:00
[GFS2] 80 Column audit of locking modules
Requested by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
568f4c9659
commit
f382894e88
@ -22,7 +22,8 @@ int __init init_lock_dlm(void)
|
||||
|
||||
error = gfs_register_lockproto(&gdlm_ops);
|
||||
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;
|
||||
}
|
||||
|
||||
@ -42,7 +43,8 @@ int __init init_lock_dlm(void)
|
||||
gdlm_drop_count = GDLM_DROP_COUNT;
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -243,11 +243,13 @@ int __init init_nolock(void)
|
||||
|
||||
error = gfs_register_lockproto(&nolock_ops);
|
||||
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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user