On Fri, 2010-07-16 at 17:02 -0400, Valerie Aurora wrote:
Checking for the methods is a good idea I think, since they are assumed
to be present by the code, at least in some places.
Although it shouldn't happen, it is possible for a file system to create
the root dentry with these methods defined but other dentrys without
them defined, so a file system implementation error could cause some
unpleasant crashes. Maybe requiring the flags to indicate support would
help avoid unpleasant implementation problems like this, not sure
really.
Also not sure if a method existence check should always be made prior to
use, regardless.
Ian
--