The patch titled
     proc: remove useless check on symlink removal
has been removed from the -mm tree.  Its filename was
     proc-remove-useless-check-on-symlink-removal.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: proc: remove useless check on symlink removal
From: Alexey Dobriyan <[EMAIL PROTECTED]>

proc symlinks always have valid ->data containing destination of symlink.  No
need to check it on removal -- proc_symlink() already done it.

Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 fs/proc/generic.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/proc/generic.c~proc-remove-useless-check-on-symlink-removal 
fs/proc/generic.c
--- a/fs/proc/generic.c~proc-remove-useless-check-on-symlink-removal
+++ a/fs/proc/generic.c
@@ -673,7 +673,7 @@ void free_proc_entry(struct proc_dir_ent
 
        release_inode_number(ino);
 
-       if (S_ISLNK(de->mode) && de->data)
+       if (S_ISLNK(de->mode))
                kfree(de->data);
        kfree(de);
 }
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

origin.patch
single_open-seq_release-leak-diagnostics.patch

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

Reply via email to