The patch titled proc: remove useless check on symlink removal has been added to the -mm tree. Its filename is proc-remove-useless-check-on-symlink-removal.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: proc: remove useless check on symlink removal From: Alexey Dobriyan <adobriyan@xxxxx> 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 <adobriyan@xxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- 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 @@ -716,7 +716,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 adobriyan@xxxxx are origin.patch proc-remove-module_license.patch proc-less-lock-operations-during-lookup.patch proc-simplify-function-prototypes.patch proc-remove-useless-check-on-symlink-removal.patch proc-remove-useless-checks-in-proc_register.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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html