diff options
| author | Christian Brauner <christian@brauner.io> | 2019-01-21 05:48:02 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-22 06:13:17 -0500 |
| commit | 7c4d08fc4d5aca073bd4ebecbb9eda5e4d858b71 (patch) | |
| tree | 9e0b15cb407aaa908c9c013c97df1dbc9a7c405f /drivers/android | |
| parent | 7d0174065f4903fb0ce0bab3d5047284faa7226d (diff) | |
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>
Diffstat (limited to 'drivers/android')
| -rw-r--r-- | drivers/android/binderfs.c | 4 |
1 files 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, | |||
| 373 | 373 | ||
| 374 | static int binderfs_unlink(struct inode *dir, struct dentry *dentry) | 374 | static int binderfs_unlink(struct inode *dir, struct dentry *dentry) |
| 375 | { | 375 | { |
| 376 | /* | ||
| 377 | * The control dentry is only ever touched during mount so checking it | ||
| 378 | * here should not require us to take lock. | ||
| 379 | */ | ||
| 380 | if (BINDERFS_I(dir)->control_dentry == dentry) | 376 | if (BINDERFS_I(dir)->control_dentry == dentry) |
| 381 | return -EPERM; | 377 | return -EPERM; |
| 382 | 378 | ||
