> In order to prevent illegal accesses to bh and dentries, it wouldThe latter:)
be better to check validation for num and bh.
There is no new error checking for same reason as above.
I'll try to add error checking to this v2 patch.
Or is it better to add error checking in another patch?
Yes, the latter looks better.