Whamcloud - gitweb
osd: remove no longer needed commentary.
authornikita <nikita>
Thu, 26 Oct 2006 14:00:30 +0000 (14:00 +0000)
committernikita <nikita>
Thu, 26 Oct 2006 14:00:30 +0000 (14:00 +0000)
lustre/osd/osd_handler.c

index 6626e43..2dbbe39 100644 (file)
@@ -421,11 +421,6 @@ static void osd_index_fini(struct osd_object *o)
  */
 static int osd_inode_unlinked(const struct inode *inode)
 {
-        /*
-         * This is modified by huanghua@lusterfs.com:
-         * i_nlink of an unlinked object is zero even if it is a dir.
-         return inode->i_nlink == !!S_ISDIR(inode->i_mode);
-         */
         return inode->i_nlink == 0;
 }