diff options
author | Trond Myklebust <trond.myklebust@fys.uio.no> | 2006-08-14 17:54:48 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-14 22:10:59 +0200 |
commit | 74361cb6828398a96167b3234e186fbd731e5f30 (patch) | |
tree | 4455618d0f6c8f4e17484180a8f69b529c04076c /kernel/kexec.c | |
parent | [PATCH] fuse: fix error case in fuse_readpages (diff) | |
download | linux-74361cb6828398a96167b3234e186fbd731e5f30.tar.xz linux-74361cb6828398a96167b3234e186fbd731e5f30.zip |
[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 <Trond.Myklebust@netapp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/kexec.c')
0 files changed, 0 insertions, 0 deletions