Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1531c57 authored by Christian Brauner's avatar Christian Brauner Committed by Hridya Valsaraju
Browse files

UPSTREAM: binderfs: remove outdated comment



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: default avatarChristian Brauner <christian@brauner.io>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 136497735
(cherry picked from commit 7c4d08fc4d5aca073bd4ebecbb9eda5e4d858b71)
Change-Id: I8d5376e217763d7a6203a54516d4220ccdbe268d
Signed-off-by: default avatarHridya Valsaraju <hridya@google.com>
parent 01408afb
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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;