git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
fs
/
ocfs2
/
slot_map.c
diff --git
a/fs/ocfs2/slot_map.c
b/fs/ocfs2/slot_map.c
index
8716279
..
2d3ac32
100644
(file)
--- a/
fs/ocfs2/slot_map.c
+++ b/
fs/ocfs2/slot_map.c
@@
-175,7
+175,7
@@
int ocfs2_init_slot_info(struct ocfs2_super *osb)
struct buffer_head *bh = NULL;
struct ocfs2_slot_info *si;
struct buffer_head *bh = NULL;
struct ocfs2_slot_info *si;
- si = k
calloc(1,
sizeof(struct ocfs2_slot_info), GFP_KERNEL);
+ si = k
zalloc(
sizeof(struct ocfs2_slot_info), GFP_KERNEL);
if (!si) {
status = -ENOMEM;
mlog_errno(status);
if (!si) {
status = -ENOMEM;
mlog_errno(status);
@@
-264,7
+264,7
@@
int ocfs2_find_slot(struct ocfs2_super *osb)
osb->slot_num = slot;
spin_unlock(&si->si_lock);
osb->slot_num = slot;
spin_unlock(&si->si_lock);
- mlog(
ML_NOTICE
, "taking node slot %d\n", osb->slot_num);
+ mlog(
0
, "taking node slot %d\n", osb->slot_num);
status = ocfs2_update_disk_slots(osb, si);
if (status < 0)
status = ocfs2_update_disk_slots(osb, si);
if (status < 0)