binderfs: remove outdated comment
authorChristian Brauner <christian@brauner.io>
Mon, 21 Jan 2019 10:48:02 +0000 (11:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 11:13:17 +0000 (12:13 +0100)
The comment stems from an early version of that patchset and is just
confusing now.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Christian Brauner <christian@brauner.io>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binderfs.c

index e4ff4c3fa371c69a2ca88860bfe26e95f9e72770..898d847f85059827e5ac06cf186c3f4cbcdb891d 100644 (file)
@@ -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;