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
b=3643
[fs/lustre-release.git]
/
lustre
/
llite
/
llite_gns.c
diff --git
a/lustre/llite/llite_gns.c
b/lustre/llite/llite_gns.c
index
38cdc53
..
bea1161
100644
(file)
--- a/
lustre/llite/llite_gns.c
+++ b/
lustre/llite/llite_gns.c
@@
-109,6
+109,7
@@
int ll_dir_process_mount_object(struct dentry *dentry, struct vfsmount *mnt)
}
LASSERT(dentry->d_inode != NULL);
}
LASSERT(dentry->d_inode != NULL);
+ LASSERT(S_ISDIR(dentry->d_inode->i_mode));
LASSERT(lld != NULL);
sbi = ll_i2sbi(dentry->d_inode);
LASSERT(sbi != NULL);
LASSERT(lld != NULL);
sbi = ll_i2sbi(dentry->d_inode);
LASSERT(sbi != NULL);