Skip to content

Commit

Permalink
[GFS2] 80 Column audit of locking modules
Browse files Browse the repository at this point in the history
Requested by:
Prarit Bhargava <prarit@redhat.com>

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
  • Loading branch information
Steven Whitehouse committed Feb 27, 2006
1 parent 568f4c9 commit f382894
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions fs/gfs2/locking/dlm/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand Down
6 changes: 4 additions & 2 deletions fs/gfs2/locking/nolock/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f382894

Please sign in to comment.