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

« back to all changes in this revision

Viewing changes to src/afs/afs_osi.h

  • 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:
41
41
 
42
42
struct osi_stat {
43
43
    afs_int32 size;             /* file size in bytes */
44
 
    afs_int32 blksize;          /* optimal transfer size in bytes */
45
44
    afs_int32 mtime;            /* modification date */
46
45
    afs_int32 atime;            /* access time */
47
46
};
213
212
/* should use curthread, but 'ps' can't display it */
214
213
#define osi_ThreadUnique()      curproc
215
214
#else
 
215
#ifdef AFS_LINUX_ENV
 
216
#define osi_ThreadUnique()      (current->pid)
 
217
#else
216
218
#define osi_ThreadUnique()      getpid()
217
219
#endif
 
220
#endif
218
221
 
219
222
 
220
223