Print this page
8368 remove warlock leftovers from usr/src/uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/udfs/udf_vfsops.c
          +++ new/usr/src/uts/common/fs/udfs/udf_vfsops.c
↓ open down ↓ 164 lines elided ↑ open up ↑
 165  165  
 166  166  
 167  167  /* -------------------- vfs routines -------------------- */
 168  168  
 169  169  /*
 170  170   * XXX - this appears only to be used by the VM code to handle the case where
 171  171   * UNIX is running off the mini-root.  That probably wants to be done
 172  172   * differently.
 173  173   */
 174  174  struct vnode *rootvp;
 175      -#ifndef __lint
 176      -_NOTE(SCHEME_PROTECTS_DATA("safe sharing", rootvp))
 177      -#endif
      175 +
 178  176  static int32_t
 179  177  udf_mount(struct vfs *vfsp, struct vnode *mvp,
 180  178          struct mounta *uap, struct cred *cr)
 181  179  {
 182  180          dev_t dev;
 183  181          struct vnode *lvp = NULL;
 184  182          struct vnode *svp = NULL;
 185  183          struct pathname dpn;
 186  184          int32_t error;
 187  185          enum whymountroot why;
↓ open down ↓ 595 lines elided ↑ open up ↑
 783  781           */
 784  782          (void) VOP_PUTPAGE(common_specvp(devvp), (offset_t)0,
 785  783              (uint32_t)0, B_INVAL, cr, NULL);
 786  784  
 787  785  
 788  786          /*
 789  787           * Check if the file system
 790  788           * is a valid udfs and fill
 791  789           * the required fields in udf_vfs
 792  790           */
 793      -#ifndef __lint
 794      -        _NOTE(NO_COMPETING_THREADS_NOW);
 795      -#endif
 796      -
 797  791          if ((lbsize = ud_get_lbsize(dev, &avd_loc)) == 0) {
 798  792                  error = EINVAL;
 799  793                  goto out;
 800  794          }
 801  795  
 802  796          udf_vfsp = ud_validate_and_fill_superblock(dev, lbsize, avd_loc);
 803  797          if (udf_vfsp == NULL) {
 804  798                  error = EINVAL;
 805  799                  goto out;
 806  800          }
↓ open down ↓ 98 lines elided ↑ open up ↑
 905  899                                  error = ENOSPC;
 906  900                                  goto out;
 907  901                          }
 908  902                  }
 909  903          }
 910  904  
 911  905          mutex_init(&udf_vfsp->udf_lock, NULL, MUTEX_DEFAULT, NULL);
 912  906  
 913  907          mutex_init(&udf_vfsp->udf_rename_lck, NULL, MUTEX_DEFAULT, NULL);
 914  908  
 915      -#ifndef __lint
 916      -        _NOTE(COMPETING_THREADS_NOW);
 917      -#endif
 918  909          if (error = ud_iget(vfsp, udf_vfsp->udf_ricb_prn,
 919  910              udf_vfsp->udf_ricb_loc, &rip, NULL, cr)) {
 920  911                  mutex_destroy(&udf_vfsp->udf_lock);
 921  912                  goto out;
 922  913          }
 923  914  
 924  915  
 925  916          /*
 926  917           * Get the root inode and
 927  918           * initialize the root vnode
↓ open down ↓ 1021 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX