patch-2.4.19 linux-2.4.19/fs/nfs/nfs3proc.c
Next file: linux-2.4.19/fs/nfs/nfsroot.c
Previous file: linux-2.4.19/fs/nfs/mount_clnt.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/fs/nfs/nfs3proc.c
- Orig date:
Fri Dec 21 09:41:55 2001
diff -urN linux-2.4.18/fs/nfs/nfs3proc.c linux-2.4.19/fs/nfs/nfs3proc.c
@@ -111,7 +111,8 @@
status = rpc_call(NFS_CLIENT(dir), NFS3PROC_GETATTR,
fhandle, fattr, 0);
dprintk("NFS reply lookup: %d\n", status);
- nfs_refresh_inode(dir, &dir_attr);
+ if (status >= 0)
+ status = nfs_refresh_inode(dir, &dir_attr);
return status;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)