Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor compilation fixes for RedHat 2.4.9
[fs/lustre-release.git]
/
lustre
/
obdfs
/
namei.c
diff --git
a/lustre/obdfs/namei.c
b/lustre/obdfs/namei.c
index
34808b7
..
1d79362
100644
(file)
--- a/
lustre/obdfs/namei.c
+++ b/
lustre/obdfs/namei.c
@@
-63,7
+63,8
@@
static inline void ext2_inc_count(struct inode *inode)
static inline void ext2_dec_count(struct inode *inode)
{
inode->i_nlink--;
- // obdfs_change_inode(inode);
+ if (inode->i_nlink > 0)
+ obdfs_change_inode(inode);
}
static inline int ext2_add_nondir(struct dentry *dentry, struct inode *inode)