- fs-make-struct-file-arg-to-d_path-const.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     fs: make struct file arg to d_path const
has been removed from the -mm tree.  Its filename was
     fs-make-struct-file-arg-to-d_path-const.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: fs: make struct file arg to d_path const
From: Jan Engelhardt <jengelh@xxxxxxxxxx>

Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx>
Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/dcache.c            |    2 +-
 include/linux/dcache.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -puN fs/dcache.c~fs-make-struct-file-arg-to-d_path-const fs/dcache.c
--- a/fs/dcache.c~fs-make-struct-file-arg-to-d_path-const
+++ a/fs/dcache.c
@@ -1948,7 +1948,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;
diff -puN include/linux/dcache.h~fs-make-struct-file-arg-to-d_path-const include/linux/dcache.h
--- a/include/linux/dcache.h~fs-make-struct-file-arg-to-d_path-const
+++ a/include/linux/dcache.h
@@ -302,7 +302,7 @@ extern int d_validate(struct dentry *, s
 extern char *dynamic_dname(struct dentry *, char *, int, const char *, ...);
 
 extern char *__d_path(const struct path *path, struct path *root, char *, int);
-extern char *d_path(struct path *, char *, int);
+extern char *d_path(const struct path *, char *, int);
 extern char *dentry_path(struct dentry *, char *, int);
 
 /* Allocation counts.. */
_

Patches currently in -mm which might be from jengelh@xxxxxxxxxx are

origin.patch
git-kbuild-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux