Christian Brauner 30d158b143
proc: remove useless d_is_dir() check
Remove the d_is_dir() check from tgid_pidfd_to_pid().

It is pointless since you should never get &proc_tgid_base_operations
for f_op on a non-directory.

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Christian Brauner <christian@brauner.io>
2019-06-27 12:25:09 +02:00
..
2019-03-05 21:07:22 -08:00
2019-06-27 12:25:09 +02:00
2019-05-01 22:43:25 -04:00
2017-11-17 16:10:00 -08:00
2019-03-05 21:07:14 -08:00