From: Christian Brauner Date: Mon, 21 Jan 2019 10:48:02 +0000 (+0100) Subject: binderfs: remove outdated comment X-Git-Tag: v5.0-rc4~18^2~7 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=7c4d08fc4d5aca073bd4ebecbb9eda5e4d858b71;p=linux-block.git binderfs: remove outdated comment The comment stems from an early version of that patchset and is just confusing now. Cc: Al Viro Signed-off-by: Christian Brauner Signed-off-by: Greg Kroah-Hartman --- 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;