[patch 2/4] fs: make struct file arg to d_path const

Signed-off-by: Jan Engelhardt <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Jan Engelhardt 2008-06-09 16:40:36 -07:00 • committed by Al Viro
commit 20d4fdc1a7
2 changed files with 2 additions and 2 deletions

View file

@ -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;