From 1ae7de7e2e1a6c529cfe5377e13cac82c2ba965a Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 25 Feb 2011 06:37:54 -0500 Subject: [PATCH] =?utf8?q?Fix=20cherry-pick=20of=20=E2=80=9CLinux:=202.6.3?= =?utf8?q?8:=20dentry->d=5Fcount=20is=20not=20an=20atomic=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Gerrit broke this patch while cherry-picking it; see http://gerrit.openafs.org/3999 . Change-Id: I16c8263d4173af35e524f0ec1bc058e8c6e02ab8 Signed-off-by: Anders Kaseorg Reviewed-on: http://gerrit.openafs.org/4057 Tested-by: BuildBot Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear (cherry picked from commit 7350bf894444c05011a3807dd2b69b2d6c2d25c0) --- src/afs/LINUX/osi_vnodeops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 8b0b6f19a..3118ec73d 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -1407,7 +1407,7 @@ afs_linux_rename(struct inode *oldip, struct dentry *olddp, if (atomic_read(&olddp->d_count) > 1) shrink_dcache_parent(olddp); #endif - +#endif AFS_GLOCK(); code = afs_rename(VTOAFS(oldip), oldname, VTOAFS(newip), newname, credp); -- 2.39.5