Whamcloud - gitweb
r=adilger
authorgreen <green>
Thu, 16 Sep 2004 18:13:48 +0000 (18:13 +0000)
committergreen <green>
Thu, 16 Sep 2004 18:13:48 +0000 (18:13 +0000)
commit1bb39b8908dfc455d3bf7eb74c3ae50047bceacf
treea4136af22db942cbe5b3cac96f478e77f8f35be6
parent13be73d033a09dc722bc706fb6bd34ad2a6073cf
r=adilger
Patch from SuSE:
revalidate_special() is called from link_path_walk as the last path component is
(".."). In revalidate_special() we called

real_lookup(dentry->d_parent,&dentry->d_name, nd), which called cifs_lookup().
which doesnot initialises dentry->d_op pointer if there is no corresponding
inode to the dentry. cifs_lookup() returned NULL dentry with d_op() as NULL.

so, in the second iteration of the loop in revalidate_special() we have d_op
as NULL and hence the crash in

  if (!dentry->d_op->d_revalidate(dentry, nd)) {
lustre/kernel_patches/patches/vfs_intent-2.6-suse.patch
lustre/kernel_patches/patches/vfs_intent-2.6-vanilla.patch