appending values to the end of the origin string, and a
overrun may occur. Adding buffer overrun check in liblustreapi.
+Severity : normal
+Bugzilla : 13730
+Description: client sometimes tried revalidate root dentry.
+Details : not revalidate dentry if it root dentry.
+
--------------------------------------------------------------------------------
2007-08-10 Cluster File Systems, Inc. <info@clusterfs.com>
continue;
}
-
+
if (ll_drop_dentry(dentry))
goto restart;
}
/* Root of the lustre tree. Always valid.
* Attributes will be fixed up in ll_inode_revalidate_it */
- if (de->d_name.name[0] == '/' && de->d_name.len == 1)
+ if (de == de->d_sb->s_root)
RETURN(1);
OBD_FAIL_TIMEOUT(OBD_FAIL_MDC_REVALIDATE_PAUSE, 5);