git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Missing 'const' from reiserfs MIN_KEY declaration.
[safe/jmp/linux-2.6]
/
fs
/
locks.c
diff --git
a/fs/locks.c
b/fs/locks.c
index
8ec16ab
..
431a8b8
100644
(file)
--- a/
fs/locks.c
+++ b/
fs/locks.c
@@
-203,9
+203,6
@@
static void init_once(void *foo, struct kmem_cache *cache, unsigned long flags)
{
struct file_lock *lock = (struct file_lock *) foo;
- if (!(flags & SLAB_CTOR_CONSTRUCTOR))
- return;
-
locks_init_lock(lock);
}