diff options
author | Trond Myklebust <trond.myklebust@fys.uio.no> | 2006-08-29 02:15:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-08 14:51:38 -0700 |
commit | f4eb9f37abad092ac27fabc7d451d6980fff8fb1 (patch) | |
tree | 5d035a5e47c23b90f7166fce2a8cad818e76d9a3 /fs/nls/nls_cp857.c | |
parent | a13aeb6eb26f3457e47f0c604104e30ed8262ca9 (diff) | |
download | linux-stable-f4eb9f37abad092ac27fabc7d451d6980fff8fb1.tar.gz |
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 'fs/nls/nls_cp857.c')
0 files changed, 0 insertions, 0 deletions