~ubuntu-branches/ubuntu/wily/spl-linux/wily-proposed

« back to all changes in this revision

Viewing changes to module/splat/splat-rwlock.c

  • Committer: Package Import Robot
  • Author(s): Liang Guo
  • Date: 2014-07-31 15:16:53 UTC
  • Revision ID: package-import@ubuntu.com-20140731151653-tgao12alohj26jcs
Tags: upstream-0.6.3+git20140731
ImportĀ upstreamĀ versionĀ 0.6.3+git20140731

Show diffs side-by-side

added added

removed removed

Lines of Context:
215
215
 
216
216
                /* The first thread will be the writer */
217
217
                if (i == 0)
218
 
                        rwt[i].rwt_thread = kthread_create(splat_rwlock_wr_thr,
 
218
                        rwt[i].rwt_thread = spl_kthread_create(splat_rwlock_wr_thr,
219
219
                            &rwt[i], "%s/%d", SPLAT_RWLOCK_TEST_NAME, i);
220
220
                else
221
 
                        rwt[i].rwt_thread = kthread_create(splat_rwlock_rd_thr,
 
221
                        rwt[i].rwt_thread = spl_kthread_create(splat_rwlock_rd_thr,
222
222
                            &rwt[i], "%s/%d", SPLAT_RWLOCK_TEST_NAME, i);
223
223
 
224
224
                if (!IS_ERR(rwt[i].rwt_thread)) {