diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2018-08-22 13:00:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-16 22:37:16 +0200 |
commit | be6b1dfe95eda70bd031dc03d420d022fd536d63 (patch) | |
tree | 7c9902373849fd1ee379ebc1f917bf8d21f33125 /fs/befs | |
parent | kernfs: update comment about kernfs_path() return value (diff) | |
download | linux-be6b1dfe95eda70bd031dc03d420d022fd536d63.tar.xz linux-be6b1dfe95eda70bd031dc03d420d022fd536d63.zip |
drivers/base/devtmpfs.c: don't pretend path is const in delete_path
path is the result of kstrdup, and we repeatedly call strrchr on it,
modifying it through the returned pointer. So there's no reason to
pretend path is const.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/befs')
0 files changed, 0 insertions, 0 deletions