~ubuntu-branches/ubuntu/feisty/openafs/feisty

« back to all changes in this revision

Viewing changes to src/afs/SOLARIS/osi_vnodeops.c

  • Committer: Package Import Robot
  • Author(s): Russ Allbery
  • Date: 2007-03-26 18:56:55 UTC
  • Revision ID: package-import@ubuntu.com-20070326185655-osce8n0y0dptgurh
* New upstream release.  (Closes: #415699)
  - Support newer Linux kernels.  (Closes: #409797, #410120)
  - Add aklog fallbacks for null realms to support the referral
    capability in MIT Kerberos 1.6 and later.  (Closes: #410314)
* Apply patch from Thomas Sesselmann to support setting options to pass
  to bosserver in /etc/default/openafs-fileserver.  (Closes: #409357)
* Remove the rx_Init calls in the PAM module.  The internal counters
  that had to be initialized that way have been removed.
* Now that we're running regen.sh as part of the build process, only
  patch the Autoconf source files and not the generated output to make
  the diff easier to audit.

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/SOLARIS/osi_vnodeops.c,v 1.20.2.9 2006/07/03 18:43:39 jaltman Exp $");
 
14
    ("$Header: /cvs/openafs/src/afs/SOLARIS/osi_vnodeops.c,v 1.20.2.10 2006/12/28 22:26:48 shadow Exp $");
15
15
 
16
16
/*
17
17
 * SOLARIS/osi_vnodeops.c
1442
1442
extern void gafs_inactive();
1443
1443
 
1444
1444
#ifdef AFS_SUN510_ENV
1445
 
struct fs_operation_def afs_vnodeops_template[] = {
1446
 
    { VOPNAME_OPEN,             gafs_open },
1447
 
    { VOPNAME_CLOSE,            gafs_close },
1448
 
    { VOPNAME_READ,             afs_vmread },
1449
 
    { VOPNAME_WRITE,            afs_vmwrite },
1450
 
    { VOPNAME_IOCTL,            afs_ioctl },
1451
 
    { VOPNAME_SETFL,            fs_setfl },
1452
 
    { VOPNAME_GETATTR,          gafs_getattr },
1453
 
    { VOPNAME_SETATTR,          gafs_setattr },
1454
 
    { VOPNAME_ACCESS,           gafs_access },
1455
 
    { VOPNAME_LOOKUP,           gafs_lookup },
1456
 
    { VOPNAME_CREATE,           gafs_create },
1457
 
    { VOPNAME_REMOVE,           gafs_remove },
1458
 
    { VOPNAME_LINK,             gafs_link },
1459
 
    { VOPNAME_RENAME,           gafs_rename },
1460
 
    { VOPNAME_MKDIR,            gafs_mkdir },
1461
 
    { VOPNAME_RMDIR,            gafs_rmdir },
1462
 
    { VOPNAME_READDIR,          gafs_readdir },
1463
 
    { VOPNAME_SYMLINK,          gafs_symlink },   
1464
 
    { VOPNAME_READLINK,         gafs_readlink },
1465
 
    { VOPNAME_FSYNC,            gafs_fsync },
1466
 
    { VOPNAME_INACTIVE,         gafs_inactive },
1467
 
    { VOPNAME_FID,              gafs_fid },
1468
 
    { VOPNAME_RWLOCK,           afs_rwlock },
1469
 
    { VOPNAME_RWUNLOCK,         afs_rwunlock },
1470
 
    { VOPNAME_SEEK,             afs_seek },
1471
 
    { VOPNAME_CMP,              afs_cmp },
1472
 
    { VOPNAME_FRLOCK,           afs_frlock },
1473
 
    { VOPNAME_SPACE,            afs_space },
1474
 
    { VOPNAME_REALVP,           afs_realvp },
1475
 
    { VOPNAME_GETPAGE,          afs_getpage },
1476
 
    { VOPNAME_PUTPAGE,          afs_putpage },
1477
 
    { VOPNAME_MAP,              afs_map },
1478
 
    { VOPNAME_ADDMAP,           afs_addmap },
1479
 
    { VOPNAME_DELMAP,           afs_delmap },
1480
 
    { VOPNAME_POLL,             fs_poll },
1481
 
    { VOPNAME_DUMP,             afs_dump },
1482
 
    { VOPNAME_PATHCONF,         afs_pathconf },
1483
 
    { VOPNAME_PAGEIO,           afs_pageio },
1484
 
    { VOPNAME_DUMPCTL,          afs_dumpctl },   
1485
 
    { VOPNAME_DISPOSE,          afs_dispose },
1486
 
    { VOPNAME_GETSECATTR,       afs_getsecattr },
1487
 
    { VOPNAME_SETSECATTR,       afs_setsecattr },
1488
 
    { VOPNAME_SHRLOCK,          fs_shrlock },
1489
 
    NULL,
 
1445
/* The following list must always be NULL-terminated */
 
1446
const fs_operation_def_t afs_vnodeops_template[] = {
 
1447
    VOPNAME_OPEN,               gafs_open,
 
1448
    VOPNAME_CLOSE,              gafs_close,
 
1449
    VOPNAME_READ,               afs_vmread,
 
1450
    VOPNAME_WRITE,              afs_vmwrite,
 
1451
    VOPNAME_IOCTL,              afs_ioctl,
 
1452
    VOPNAME_SETFL,              fs_setfl,
 
1453
    VOPNAME_GETATTR,            gafs_getattr,
 
1454
    VOPNAME_SETATTR,            gafs_setattr,
 
1455
    VOPNAME_ACCESS,             gafs_access,
 
1456
    VOPNAME_LOOKUP,             gafs_lookup,
 
1457
    VOPNAME_CREATE,             gafs_create,
 
1458
    VOPNAME_REMOVE,             gafs_remove,
 
1459
    VOPNAME_LINK,               gafs_link,
 
1460
    VOPNAME_RENAME,             gafs_rename,
 
1461
    VOPNAME_MKDIR,              gafs_mkdir,
 
1462
    VOPNAME_RMDIR,              gafs_rmdir,
 
1463
    VOPNAME_READDIR,            gafs_readdir,
 
1464
    VOPNAME_SYMLINK,            gafs_symlink,   
 
1465
    VOPNAME_READLINK,           gafs_readlink,
 
1466
    VOPNAME_FSYNC,              gafs_fsync,
 
1467
    VOPNAME_INACTIVE,           gafs_inactive,
 
1468
    VOPNAME_FID,                gafs_fid,
 
1469
    VOPNAME_RWLOCK,             afs_rwlock,
 
1470
    VOPNAME_RWUNLOCK,           afs_rwunlock,
 
1471
    VOPNAME_SEEK,               afs_seek,
 
1472
    VOPNAME_CMP,                afs_cmp,
 
1473
    VOPNAME_FRLOCK,             afs_frlock,
 
1474
    VOPNAME_SPACE,              afs_space,
 
1475
    VOPNAME_REALVP,             afs_realvp,
 
1476
    VOPNAME_GETPAGE,            afs_getpage,
 
1477
    VOPNAME_PUTPAGE,            afs_putpage,
 
1478
    VOPNAME_MAP,                afs_map,
 
1479
    VOPNAME_ADDMAP,             afs_addmap,
 
1480
    VOPNAME_DELMAP,             afs_delmap,
 
1481
    VOPNAME_POLL,               fs_poll,
 
1482
    VOPNAME_DUMP,               afs_dump,
 
1483
    VOPNAME_PATHCONF,           afs_pathconf,
 
1484
    VOPNAME_PAGEIO,             afs_pageio,
 
1485
    VOPNAME_DUMPCTL,            afs_dumpctl,   
 
1486
    VOPNAME_DISPOSE,            afs_dispose,
 
1487
    VOPNAME_GETSECATTR,       afs_getsecattr,
 
1488
    VOPNAME_SETSECATTR,         afs_setsecattr,
 
1489
    VOPNAME_SHRLOCK,            fs_shrlock,
 
1490
    NULL,                     NULL
1490
1491
};
1491
1492
struct vnodeops *afs_ops;
1492
1493
#else