Changeset 3b4ca3a in rtems
- Timestamp:
- 11/27/14 13:41:17 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 01557b0
- Parents:
- e22af78
- git-author:
- Sebastian Huber <sebastian.huber@…> (11/27/14 13:41:17)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (11/28/14 09:56:46)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libblock/src/bdbuf.c
re22af78 r3b4ca3a 2750 2750 rtems_bdbuf_swapout_worker* worker; 2751 2751 bool transfered_buffers = false; 2752 bool sync_active; 2752 2753 2753 2754 rtems_bdbuf_lock_cache (); 2755 2756 /* 2757 * To set this to true you need the cache and the sync lock. 2758 */ 2759 sync_active = bdbuf_cache.sync_active; 2754 2760 2755 2761 /* … … 2762 2768 * sync operations. 2763 2769 */ 2764 if ( bdbuf_cache.sync_active)2770 if (sync_active) 2765 2771 worker = NULL; 2766 2772 else … … 2774 2780 rtems_chain_initialize_empty (&transfer->bds); 2775 2781 transfer->dd = BDBUF_INVALID_DEV; 2776 transfer->syncing = bdbuf_cache.sync_active;2782 transfer->syncing = sync_active; 2777 2783 2778 2784 /* … … 2781 2787 * list. This means the dev is BDBUF_INVALID_DEV. 2782 2788 */ 2783 if ( bdbuf_cache.sync_active)2789 if (sync_active) 2784 2790 transfer->dd = bdbuf_cache.sync_device; 2785 2791 … … 2800 2806 &bdbuf_cache.modified, 2801 2807 &transfer->bds, 2802 bdbuf_cache.sync_active,2808 sync_active, 2803 2809 update_timers, 2804 2810 timer_delta); … … 2831 2837 } 2832 2838 2833 if ( bdbuf_cache.sync_active && !transfered_buffers)2839 if (sync_active && !transfered_buffers) 2834 2840 { 2835 2841 rtems_id sync_requester;
Note: See TracChangeset
for help on using the changeset viewer.