Hi, Kazu
Sorry for the late reply, I was offline last Friday.
Hi Lianbo,
Let me summarize my current suggestion:
(1) make the "fuser" command do not accept an obviously invalid
argument, which is not a kvaddr and also not a full path.
(I think this can be done without additional options, with the check I
wrote.)
(2) add a note that the command does not expect an argument other than
an inode address and a full path, and if others are specified, the
output can be an unexpected one.
What do you think?
Thanks for your suggestions, Kazu.
This sounds good to me, it has fewer changes and gets enhanced for the argument checking. We do not need to complicate a simple problem.
I will post v2 later(with your suggestions).
Thanks
Lianbo