diff options
author | Jiri Slaby <jslaby@suse.cz> | 2009-11-09 16:11:49 +0100 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2009-12-09 20:18:07 +0100 |
commit | 7161c22be9ea7e6c044e064b42bba841235b68d9 (patch) | |
tree | 37e89cf6200a77e223b6c8794efb3db96d90d7e9 /fs/proc/base.c | |
parent | 3e6ddcc3d005671062079f08c8390bdddbca1596 (diff) |
core: rename setrlimit to do_setrlimit
Rename it so that it makes more sense in the field of syscalls
(i.e. do_* is used for functions called by syscall wrappers but
also when called from other paths).
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>
Cc: James Morris <jmorris@namei.org>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r-- | fs/proc/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index 78c0367c6c21..9fdb990fc6d4 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -589,7 +589,7 @@ static ssize_t limits_write(struct file *file, const char __user *buf, goto put_task; } - ret = setrlimit(task, i, &new_rlimit); + ret = do_setrlimit(task, i, &new_rlimit); if (ret) count = ret; |