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_inode.c
          +++ new/usr/src/uts/common/fs/udfs/udf_inode.c
↓ open down ↓ 82 lines elided ↑ open up ↑
  83   83  #include <sys/fs/udf_inode.h>
  84   84  
  85   85  extern struct vnodeops *udf_vnodeops;
  86   86  
  87   87  kmutex_t ud_sync_busy;
  88   88  /*
  89   89   * udf_vfs list manipulation routines
  90   90   */
  91   91  kmutex_t udf_vfs_mutex;
  92   92  struct udf_vfs *udf_vfs_instances;
  93      -#ifndef __lint
  94      -_NOTE(MUTEX_PROTECTS_DATA(udf_vfs_mutex, udf_vfs_instances))
  95      -#endif
  96   93  
  97   94  union ihead ud_ihead[UD_HASH_SZ];
  98   95  kmutex_t ud_icache_lock;
  99   96  
 100   97  #define UD_BEGIN        0x0
 101   98  #define UD_END          0x1
 102   99  #define UD_UNKN         0x2
 103  100  struct ud_inode *udf_ifreeh, *udf_ifreet;
 104  101  kmutex_t udf_ifree_lock;
 105      -#ifndef __lint
 106      -_NOTE(MUTEX_PROTECTS_DATA(udf_ifree_lock, udf_ifreeh))
 107      -_NOTE(MUTEX_PROTECTS_DATA(udf_ifree_lock, udf_ifreet))
 108      -#endif
 109  102  
 110  103  kmutex_t ud_nino_lock;
 111  104  int32_t ud_max_inodes = 512;
 112  105  int32_t ud_cur_inodes = 0;
 113      -#ifndef __lint
 114      -_NOTE(MUTEX_PROTECTS_DATA(ud_nino_lock, ud_cur_inodes))
 115      -#endif
 116  106  
 117  107  uid_t ud_default_uid = 0;
 118  108  gid_t ud_default_gid = 3;
 119  109  
 120  110  int32_t ud_updat_ext4(struct ud_inode *, struct file_entry *);
 121  111  int32_t ud_updat_ext4096(struct ud_inode *, struct file_entry *);
 122  112  void ud_make_sad(struct icb_ext *, struct short_ad *, int32_t);
 123  113  void ud_make_lad(struct icb_ext *, struct long_ad *, int32_t);
 124  114  void ud_trunc_ext4(struct ud_inode *, u_offset_t);
 125  115  void ud_trunc_ext4096(struct ud_inode *, u_offset_t);
↓ open down ↓ 2034 lines elided ↑ open up ↑
2160 2150          ip->i_freef = NULL;
2161 2151          ip->i_freeb = NULL;
2162 2152  }
2163 2153  
2164 2154  void
2165 2155  ud_init_inodes(void)
2166 2156  {
2167 2157          union ihead *ih = ud_ihead;
2168 2158          int index;
2169 2159  
2170      -#ifndef __lint
2171      -        _NOTE(NO_COMPETING_THREADS_NOW);
2172      -#endif
2173 2160          for (index = 0; index < UD_HASH_SZ; index++, ih++) {
2174 2161                  ih->ih_head[0] = ih;
2175 2162                  ih->ih_head[1] = ih;
2176 2163          }
2177 2164          mutex_init(&ud_icache_lock, NULL, MUTEX_DEFAULT, NULL);
2178 2165          mutex_init(&ud_nino_lock, NULL, MUTEX_DEFAULT, NULL);
2179 2166  
2180 2167          udf_ifreeh = NULL;
2181 2168          udf_ifreet = NULL;
2182 2169          mutex_init(&udf_ifree_lock, NULL, MUTEX_DEFAULT, NULL);
2183 2170  
2184 2171          mutex_init(&ud_sync_busy, NULL, MUTEX_DEFAULT, NULL);
2185 2172          udf_vfs_instances = NULL;
2186 2173          mutex_init(&udf_vfs_mutex, NULL, MUTEX_DEFAULT, NULL);
2187      -
2188      -#ifndef __lint
2189      -        _NOTE(COMPETING_THREADS_NOW);
2190      -#endif
2191 2174  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX