]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Fix cherry-pick of “Linux: 2.6.38: dentry->d_count is not an atomic”
authorAnders Kaseorg <andersk@mit.edu>
Fri, 25 Feb 2011 11:37:54 +0000 (06:37 -0500)
committerRuss Allbery <rra@debian.org>
Tue, 1 Mar 2011 00:04:06 +0000 (16:04 -0800)
Gerrit broke this patch while cherry-picking it; see
http://gerrit.openafs.org/3999 .

Change-Id: I16c8263d4173af35e524f0ec1bc058e8c6e02ab8
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-on: http://gerrit.openafs.org/4057
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 7350bf894444c05011a3807dd2b69b2d6c2d25c0)

src/afs/LINUX/osi_vnodeops.c

index 8b0b6f19a18065ab1dda5ff3290b762a0a06eb64..3118ec73d944011078ec9ad67ca415fa85a1f2da 100644 (file)
@@ -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);