]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/locks.c
[PATCH] Export soc_common_drv_pcmcia_remove to allow modular PCMCIA.
[linux-2.6-omap-h63xx.git] / fs / locks.c
index 21dfadfca2bc1402613407215a807ee3bda44173..e0b6a80649a01ff79c26206c039ece3d4faebd0c 100644 (file)
@@ -1514,7 +1514,7 @@ int fcntl_setlease(unsigned int fd, struct file *filp, long arg)
                goto out_unlock;
        }
 
-       error = f_setown(filp, current->pid, 0);
+       error = __f_setown(filp, task_pid(current), PIDTYPE_PID, 0);
 out_unlock:
        unlock_kernel();
        return error;