generic is_subdir() for dcache.c

Bill Hawes (whawes@star.net)
Tue, 03 Feb 1998 11:19:25 -0500


The attached patch copies the subdir() testing function from fs/ext2/namei.c to
dcache.c. As most filesystems need to do a subdir test for their rename
operation, this makes a useful generic addition.

Regards,
Bill