Greg Kroah-Hartman writes:
How can file ever be NULL?And if it is an error, what is the problem here? You can always feed the output of a debugfs_* call back into debugfs, and you never need to check the return values.
Oh, thanks -- that's helpful to know. Looks like I misread debugfs_create_{file,dir}. :-)
I'll send v3.

