diff options
author | André Goddard Rosa | 2009-12-15 03:01:04 +0100 |
---|---|---|
committer | Linus Torvalds | 2009-12-15 17:53:32 +0100 |
commit | 84c95c9acf088c99d8793d78036b67faa5d0b851 (patch) | |
tree | 170c528099f4f570e48220b546c7fc3e4e06be8a /fs/stack.c | |
parent | string: factorize skip_spaces and export it to be generally available (diff) | |
download | kernel-qcow2-linux-84c95c9acf088c99d8793d78036b67faa5d0b851.tar.gz kernel-qcow2-linux-84c95c9acf088c99d8793d78036b67faa5d0b851.tar.xz kernel-qcow2-linux-84c95c9acf088c99d8793d78036b67faa5d0b851.zip |
string: on strstrip(), first remove leading spaces before running over str
... so that strlen() iterates over a smaller string comprising of the
remaining characters only.
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions