X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fdcookies.c;h=70fd5f13874bca30bcc8f0aa3ee396a2b6c1ae9e;hb=333b49614bac1801f614128fdcdb6346b383a0df;hp=277ef25dff5433037d8bb345416394d0264661f1;hpb=86090fcac5e27b630656fe3d963a6b80e26dac44;p=linux-2.6.git diff --git a/fs/dcookies.c b/fs/dcookies.c index 277ef25df..70fd5f138 100644 --- a/fs/dcookies.c +++ b/fs/dcookies.c @@ -142,7 +142,7 @@ out: /* And here is where the userspace process can look up the cookie value * to retrieve the path. */ -asmlinkage long sys_lookup_dcookie(u64 cookie64, char * buf, size_t len) +asmlinkage long sys_lookup_dcookie(u64 cookie64, char __user * buf, size_t len) { unsigned long cookie = (unsigned long)cookie64; int err = -EINVAL;