From 73f5dec4630b261d537e9a8d09de9881408e84bf Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 12 Dec 1995 20:00:43 +0000 Subject: Formerly dir-lookup.c.~3~ --- libnetfs/dir-lookup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libnetfs/dir-lookup.c b/libnetfs/dir-lookup.c index 87535a8b..e0cecab2 100644 --- a/libnetfs/dir-lookup.c +++ b/libnetfs/dir-lookup.c @@ -176,7 +176,7 @@ netfs_S_dir_lookup (struct protid *diruser, struct node *np = cookie1; error_t err; - err = netfs_validate_stat (np, diruser); + err = netfs_validate_stat (np, diruser->credential); if (err) return err; @@ -262,7 +262,7 @@ netfs_S_dir_lookup (struct protid *diruser, } } - netfs_validate_stat (np, diruser); + netfs_validate_stat (np, diruser->credential); if (S_ISLNK (np->nn_stat.st_mode) && !(lastcomp && (flags & (O_NOLINK|O_NOTRANS)))) @@ -341,7 +341,7 @@ netfs_S_dir_lookup (struct protid *diruser, if (mustbedir) { - netfs_validate_stat (np, diruser); + netfs_validate_stat (np, diruser->credential); if (!S_ISDIR (np->nn_stat.st_mode)) { error = ENOTDIR; -- cgit v1.2.3