VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Christian Brauner <christian@brauner.io> 2019-01-21 11:48:02 +0100 committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2019-01-22 12:13:17 +0100 commit: 7c4d08fc4d5aca073bd4ebecbb9eda5e4d858b71 parent: 7d0174065f4903fb0ce0bab3d5047284faa7226d
Commit Summary:
binderfs: remove outdated comment
Diffstat:
1 file changed, 0 insertions, 4 deletions
diff --git a/drivers/android/binderfs.c b/drivers/android/binderfs.c
index e4ff4c3fa371..898d847f8505 100644
--- a/drivers/android/binderfs.c
+++ b/drivers/android/binderfs.c
@@ -373,10 +373,6 @@ static int binderfs_rename(struct inode *old_dir, struct dentry *old_dentry,
 
 static int binderfs_unlink(struct inode *dir, struct dentry *dentry)
 {
-	/*
-	 * The control dentry is only ever touched during mount so checking it
-	 * here should not require us to take lock.
-	 */
 	if (BINDERFS_I(dir)->control_dentry == dentry)
 		return -EPERM;