The patch titled Subject: proc: return -ENOMEM when inode allocation failed has been removed from the -mm tree. Its filename was proc-return-enomem-when-inode-allocation-failed.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: yan <clouds.yan@xxxxxxxxx> Subject: proc: return -ENOMEM when inode allocation failed If proc_get_inode() returns NULL then presumably it encountered memory exhaustion. proc_lookup_de() should return -ENOMEM in this case, not -EINVAL. Signed-off-by: yan <clouds.yan@xxxxxxxxx> Cc: Ryan Mallon <rmallon@xxxxxxxxx> Cc: Cong Wang <xiyou.wangcong@xxxxxxxxx> 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-return-enomem-when-inode-allocation-failed fs/proc/generic.c --- a/fs/proc/generic.c~proc-return-enomem-when-inode-allocation-failed +++ a/fs/proc/generic.c @@ -427,7 +427,7 @@ struct dentry *proc_lookup_de(struct pro if (!memcmp(dentry->d_name.name, de->name, de->namelen)) { pde_get(de); spin_unlock(&proc_subdir_lock); - error = -EINVAL; + error = -ENOMEM; inode = proc_get_inode(dir->i_sb, de); goto out_unlock; } _ Patches currently in -mm which might be from clouds.yan@xxxxxxxxx are origin.patch fs-debugsfs-remove-unnecessary-inode-i_private-initialization.patch fs-block_devc-need-not-to-check-inode-i_bdev-in-bd_forget.patch fs-fs-writebackc-remove-unneccesary-parameter-of-__writeback_single_inode.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