The patch titled Subject: affs: kstrdup() memory handling has been removed from the -mm tree. Its filename was affs-kstrdup-memory-handling.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Sanidhya Kashyap <sanidhya.gatech@xxxxxxxxx> Subject: affs: kstrdup() memory handling There is a possibility of kstrdup() failure upon memory pressure. Therefore, returning ENOMEM even for new_opts. [akpm@xxxxxxxxxxxxxxxxxxxx: cleanup] Signed-off-by: Sanidhya Kashyap <sanidhya.gatech@xxxxxxxxx> Cc: Taesoo kim <taesoo@xxxxxxxxxx> Cc: Fabian Frederick <fabf@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/affs/super.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff -puN fs/affs/super.c~affs-kstrdup-memory-handling fs/affs/super.c --- a/fs/affs/super.c~affs-kstrdup-memory-handling +++ a/fs/affs/super.c @@ -521,10 +521,14 @@ affs_remount(struct super_block *sb, int int root_block; unsigned long mount_flags; int res = 0; - char *new_opts = kstrdup(data, GFP_KERNEL); + char *new_opts; char volume[32]; char *prefix = NULL; + new_opts = kstrdup(data, GFP_KERNEL); + if (!new_opts) + return -ENOMEM; + pr_debug("%s(flags=0x%x,opts=\"%s\")\n", __func__, *flags, data); sync_filesystem(sb); _ Patches currently in -mm which might be from sanidhya.gatech@xxxxxxxxx are origin.patch ocfs2-trusted-xattr-missing-cap_sys_admin-check.patch linux-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