Re: nfs_lookup_revalidate BUG ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/15/2012 03:20 PM, Myklebust, Trond wrote:
>> (gdb) list *(nfs_lookup_revalidate+0x2d)
>> 0x59cd is in nfs_lookup_revalidate (/usr/src/debug/kernel-default-3.5.1/linux-3.5/fs/nfs/dir.c:1129).
>> 1124            struct dentry *parent;
>> 1125            struct nfs_fh *fhandle = NULL;
>> 1126            struct nfs_fattr *fattr = NULL;
>> 1127            int error;
>> 1128
>> 1129            if (nd->flags & LOOKUP_RCU)
> 
> Bummer... We check if 'nd' is NULL everywhere except here...
> 
> OK. Changing the above line to
> 
> 	if (nd && (nd->flags & LOOKUP_RCU))
> 
> will fix the problem.

Ok, great !
Do you think this fix will go into 3.5.2 ?

Thanks again,
Richard


-- 
Richard Ems       mail: Richard.Ems@xxxxxxxxxxxxxxxxx

Cape Horn Engineering S.L.
C/ Dr. J.J. Dómine 1, 5º piso
46011 Valencia
Tel : +34 96 3242923 / Fax 924
http://www.cape-horn-eng.com
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux