stat.c (257ac264d69017270fbc3cf5536953525db4076c) stat.c (002c8976ee537724b20a5e179d9b349309438836)
1/*
2 * linux/fs/stat.c
3 *
4 * Copyright (C) 1991, 1992 Linus Torvalds
5 */
6
7#include <linux/module.h>
8#include <linux/mm.h>

--- 306 unchanged lines hidden (view full) ---

315 buf, bufsiz);
316 }
317 }
318 path_put(&path);
319 }
320 return error;
321}
322
1/*
2 * linux/fs/stat.c
3 *
4 * Copyright (C) 1991, 1992 Linus Torvalds
5 */
6
7#include <linux/module.h>
8#include <linux/mm.h>

--- 306 unchanged lines hidden (view full) ---

315 buf, bufsiz);
316 }
317 }
318 path_put(&path);
319 }
320 return error;
321}
322
323asmlinkage long sys_readlink(const char __user *path, char __user *buf,
324 int bufsiz)
323SYSCALL_DEFINE3(readlink, const char __user *, path, char __user *, buf,
324 int, bufsiz)
325{
326 return sys_readlinkat(AT_FDCWD, path, buf, bufsiz);
327}
328
329
330/* ---------- LFS-64 ----------- */
331#ifdef __ARCH_WANT_STAT64
332

--- 143 unchanged lines hidden ---
325{
326 return sys_readlinkat(AT_FDCWD, path, buf, bufsiz);
327}
328
329
330/* ---------- LFS-64 ----------- */
331#ifdef __ARCH_WANT_STAT64
332

--- 143 unchanged lines hidden ---