~ubuntu-branches/ubuntu/karmic/openafs/karmic-updates

« back to all changes in this revision

Viewing changes to src/afs/VNOPS/afs_vnop_rename.c

  • Committer: Bazaar Package Importer
  • Author(s): Russ Allbery
  • Date: 2008-09-22 19:07:02 UTC
  • mfrom: (12.1.14 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080922190702-59m13d7kn6gkw32d
Tags: 1.4.7.dfsg1-6
* Apply upstream patch to free /proc entries in the correct order.
  Thanks, Marc Dionne.  (Closes: #493914)
* Apply upstream deltas to support 2.6.27 kernels and to stop using
  COMMON_KERN_CFLAGS for all 2.6 kernels uniformly, which fixes
  problems on amd64 with newer kernels.  Thanks, Björn Torkelsson.
  (LP: #267504)
* Translation updates:
  - Swedish, thanks Martin Bagge.  (Closes: #493120)

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#include "afs/param.h"
19
19
 
20
20
RCSID
21
 
    ("$Header: /cvs/openafs/src/afs/VNOPS/afs_vnop_rename.c,v 1.16.2.11 2005/12/24 00:21:45 shadow Exp $");
 
21
    ("$Header: /cvs/openafs/src/afs/VNOPS/afs_vnop_rename.c,v 1.16.2.12 2007/12/08 18:00:45 shadow Exp $");
22
22
 
23
23
#include "afs/sysincludes.h"    /* Standard vendor system headers */
24
24
#include "afsincludes.h"        /* Afs-based standard headers */
227
227
                code = afs_dir_Delete(tdc2, aname2);
228
228
            }
229
229
            if (code == 0) {
 
230
                ObtainWriteLock(&afs_xdcache, 292);
230
231
                code = afs_dir_Create(tdc2, aname2, &fileFid.Fid);
 
232
                ReleaseWriteLock(&afs_xdcache);
231
233
            }
232
234
            if (code != 0) {
233
235
                ZapDCE(tdc1);