Print this page
Add VZONEROOT flag because not all zone roots have VROOT set.

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/vnode.h
          +++ new/usr/src/uts/common/sys/vnode.h
↓ open down ↓ 407 lines elided ↑ open up ↑
 408  408  
 409  409  /*
 410  410   * Indication that VOP_LOOKUP operations on this vnode may yield results from a
 411  411   * different VFS instance.  The main use of this is to suppress v_path
 412  412   * calculation logic when filesystems such as procfs emit results which defy
 413  413   * expectations about normal VFS behavior.
 414  414   */
 415  415  #define VTRAVERSE       0x80000
 416  416  
 417  417  /*
      418 + * Indicates the vnode is a zone's root ("/" in-zone). A zone's root does NOT
      419 + * have to be a filesystem root, even if many zone brands guaranteed that.
      420 + */
      421 +#define VZONEROOT       0x100000
      422 +
      423 +
      424 +/*
 418  425   * Vnode attributes.  A bit-mask is supplied as part of the
 419  426   * structure to indicate the attributes the caller wants to
 420  427   * set (setattr) or extract (getattr).
 421  428   */
 422  429  
 423  430  /*
 424  431   * Note that va_nodeid and va_nblocks are 64bit data type.
 425  432   * We support large files over NFSV3. With Solaris client and
 426  433   * Server that generates 64bit ino's and sizes these fields
 427  434   * will overflow if they are 32 bit sizes.
↓ open down ↓ 1137 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX