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
- fixed stupid bug with locking in MDS. It caused clients do not flush local
[fs/lustre-release.git]
/
lustre
/
smfs
/
cache_space.c
diff --git
a/lustre/smfs/cache_space.c
b/lustre/smfs/cache_space.c
index
a6092bf
..
674a264
100644
(file)
--- a/
lustre/smfs/cache_space.c
+++ b/
lustre/smfs/cache_space.c
@@
-116,6
+116,8
@@
static int cache_leaf_node(struct dentry *dentry, __u64 *active_entry)
{
struct inode *inode = dentry->d_inode;
+ if (!dentry->d_inode)
+ return 0;
if (S_ISDIR(inode->i_mode)) {
if (inode->i_nlink != 2)
return 0;