Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6658ae
)
osd: remove no longer needed commentary.
author
nikita
<nikita>
Thu, 26 Oct 2006 14:00:30 +0000
(14:00 +0000)
committer
nikita
<nikita>
Thu, 26 Oct 2006 14:00:30 +0000
(14:00 +0000)
lustre/osd/osd_handler.c
patch
|
blob
|
history
diff --git
a/lustre/osd/osd_handler.c
b/lustre/osd/osd_handler.c
index
6626e43
..
2dbbe39
100644
(file)
--- a/
lustre/osd/osd_handler.c
+++ b/
lustre/osd/osd_handler.c
@@
-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;
}