Skip to contentSkip to conversation

autofs-use-autofs4_free_ino-to-kfree-dentry-data.patch removed from -mm tree

merged [email protected] 1 participant 1 message Oct 12, 2016

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: autofs: use autofs4_free_ino() to kfree dentry data
has been removed from the -mm tree. Its filename was
autofs-use-autofs4_free_ino-to-kfree-dentry-data.patch

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

------------------------------------------------------
From: Tomohiro Kusumi <[email protected]>
Subject: autofs: use autofs4_free_ino() to kfree dentry data

kfree dentry data allocated by autofs4_new_ino() with autofs4_free_ino() instead of raw kfree. (since we have the interface to free autofs_info*)

This patch was modified to remove the need to set the dentry info field to NULL dew to a change in the previous patch.

---

 fs/autofs4/inode.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/autofs4/inode.c renamed from fs/autofs4/inode.c~autofs-use-autofs4_free_ino-to-kfree-dentry-data +1 -1
diff -puN fs/autofs4/inode.c~autofs-use-autofs4_free_ino-to-kfree-dentry-data fs/autofs4/inode.c
@@ -340,7 +340,7 @@ fail_dput:
 	dput(root);
 	goto fail_free;
 fail_ino:
-	kfree(ino);
+	autofs4_free_ino(ino);
 fail_free:
 	kfree(sbi);
 	s->s_fs_info = NULL;

_

Patches currently in -mm which might be from [email protected] are