locks: let the caller free file_lock on ->setlease failure
[cascardo/linux.git] / fs / nfs / file.c
index e756075..60677f9 100644 (file)
@@ -884,6 +884,5 @@ static int nfs_setlease(struct file *file, long arg, struct file_lock **fl)
        dprintk("NFS: setlease(%s/%s, arg=%ld)\n",
                        file->f_path.dentry->d_parent->d_name.name,
                        file->f_path.dentry->d_name.name, arg);
-
        return -EINVAL;
 }