Linux: Check for multiple silly renames
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Sun, 27 Dec 2009 11:28:43 +0000 (11:28 +0000)
committerDerrick Brashear <shadow|account-1000005@unknown>
Thu, 31 Dec 2009 13:06:11 +0000 (05:06 -0800)
commite4708157ea55ef79d1c3a5387859618bdba90395
tree2a043b42dde40ed008ef84d3d43aaabd2cf6a5ef
parentec352e0bfd6f324c6b95a3b1e816809c24004e84
Linux: Check for multiple silly renames

We don't want to do multiple silly renames of the same dcache entry,
so add a check for that occuring, and just return EBUSY if we're
trying to do so.

Change-Id: Ic1cb4061d89bf87926995162f1ac410375bddcb5
Reviewed-on: http://gerrit.openafs.org/1035
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_compat.h
src/afs/LINUX/osi_vnodeops.c