X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Flocks.c;h=bb08857f90b56cb2b51a77b3f69acfef33a8fd9c;hb=12df9f376d895011fb667980c8e204e050122772;hp=cb66fb05ad4a97e6ed9e975dc631c09b42d7fc03;hpb=5317821c08533e5f42f974e4e68e092beaf099b1;p=linux-2.6-microblaze.git diff --git a/fs/locks.c b/fs/locks.c index cb66fb05ad4a..bb08857f90b5 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1619,7 +1619,7 @@ static int generic_add_lease(struct file *filp, long arg, struct file_lock **flp smp_mb(); error = check_conflicting_open(dentry, arg); if (error) - locks_unlink_lock(flp); + locks_unlink_lock(before); out: if (is_deleg) mutex_unlock(&inode->i_mutex);