X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Flocks.c;h=5eb259e3cd38431e7e52baa5ed6975307ff782b5;hb=ca6d1b1333bc2e61e37982de1f28d8604c232414;hp=01490300f7cbd7f6257f38b9de6ff34b5ce6f78d;hpb=5047887caf1806f31652210df27fb62a7c43f27d;p=linux-2.6 diff --git a/fs/locks.c b/fs/locks.c index 01490300f7..5eb259e3cd 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -201,7 +201,7 @@ EXPORT_SYMBOL(locks_init_lock); * Initialises the fields of the file lock which are invariant for * free file_locks. */ -static void init_once(struct kmem_cache *cache, void *foo) +static void init_once(void *foo) { struct file_lock *lock = (struct file_lock *) foo;