From: Trond Myklebust Date: Mon, 14 Aug 2006 15:54:48 +0000 (-0700) Subject: [PATCH] fcntl(F_SETSIG) fix X-Git-Tag: v2.6.18-rc5~83 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74361cb6828398a96167b3234e186fbd731e5f30;p=pandora-kernel.git [PATCH] fcntl(F_SETSIG) fix fcntl(F_SETSIG) no longer works on leases because lease_release_private_callback() gets called as the lease is copied in order to initialise it. The problem is that lease_alloc() performs an unnecessary initialisation, which sets the lease_manager_ops. Avoid the problem by allocating the target lease structure using locks_alloc_lock(). Signed-off-by: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed