Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If a file name does not end with ".ko", there is no need to call fstat. Since common use cases are like "modinfo modname", the string check should come first to save a tiny amount of system time. Signed-off-by: Tobias Stoeckmann <[email protected]>
- Loading branch information