Skip to content

Commit 7c4d08f

Browse files
braunergregkh
authored andcommitted
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: Christian Brauner <christian@brauner.io> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 7d01740 commit 7c4d08f

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎drivers/android/binderfs.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,6 @@ static int binderfs_rename(struct inode *old_dir, struct dentry *old_dentry,
373373

374374
static int binderfs_unlink(struct inode *dir, struct dentry *dentry)
375375
{
376-
/*
377-
* The control dentry is only ever touched during mount so checking it
378-
* here should not require us to take lock.
379-
*/
380376
if (BINDERFS_I(dir)->control_dentry == dentry)
381377
return -EPERM;
382378

0 commit comments

Comments
 (0)