Re: [RFC] st_nlink after rmdir() and rename()

From: OGAWA Hirofumi
Date: Thu Mar 03 2011 - 15:50:31 EST


OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> writes:

> (IIRC, it's checking i_nlink == 2, to know empty dir or not).

Ah, the check would be it doesn't have sub dirs actually.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/