~ubuntu-branches/ubuntu/oneiric/openafs/oneiric-201305130334

« back to all changes in this revision

Viewing changes to src/afs/HPUX/osi_file.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:
11
11
#include "afs/param.h"
12
12
 
13
13
RCSID
14
 
    ("$Header: /cvs/openafs/src/afs/HPUX/osi_file.c,v 1.8 2003/07/15 23:14:21 shadow Exp $");
 
14
    ("$Header: /cvs/openafs/src/afs/HPUX/osi_file.c,v 1.8.2.2 2007/12/13 19:18:50 shadow Exp $");
15
15
 
16
16
#include "afs/sysincludes.h"    /* Standard vendor system headers */
17
17
#include "afsincludes.h"        /* Afs-based standard headers */
75
75
    AFS_GLOCK();
76
76
    if (code == 0) {
77
77
        astat->size = tvattr.va_size;
78
 
        astat->blksize = tvattr.va_blocksize;
79
78
        astat->mtime = tvattr.va_mtime.tv_sec;
80
79
        astat->atime = tvattr.va_atime.tv_sec;
81
80
    }
224
223
void
225
224
shutdown_osifile(void)
226
225
{
227
 
    extern int afs_cold_shutdown;
228
 
 
229
226
    AFS_STATCNT(shutdown_osifile);
230
227
    if (afs_cold_shutdown) {
231
228
        afs_osicred_initialized = 0;