[patch 2/4] fs: make struct file arg to d_path const
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@ -1847,7 +1847,7 @@ Elong:
|
||||
*
|
||||
* "buflen" should be positive. Caller holds the dcache_lock.
|
||||
*/
|
||||
char *d_path(struct path *path, char *buf, int buflen)
|
||||
char *d_path(const struct path *path, char *buf, int buflen)
|
||||
{
|
||||
char *res;
|
||||
struct path root;
|
||||
|
Reference in New Issue
Block a user