diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-07-31 11:03:54 +0400 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-11 09:56:40 +0400 |
commit | 65d22e911bfc4f46cda4751f1b1926b43c316c14 (patch) | |
tree | 2d860067f2cb0d25a3fda0b9d3873d911ce364fe /drivers/md/bcache/util.h | |
parent | 8aee122071a69ca6fa3314da7713bdf0b61dc07c (diff) | |
download | linux-65d22e911bfc4f46cda4751f1b1926b43c316c14.tar.xz |
bcache: Move spinlock into struct time_stats
Minor cleanup.
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers/md/bcache/util.h')
-rw-r--r-- | drivers/md/bcache/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/bcache/util.h b/drivers/md/bcache/util.h index 8ce5aab55962..362c4b3f8b4a 100644 --- a/drivers/md/bcache/util.h +++ b/drivers/md/bcache/util.h @@ -378,6 +378,7 @@ ssize_t bch_snprint_string_list(char *buf, size_t size, const char * const list[ ssize_t bch_read_string_list(const char *buf, const char * const list[]); struct time_stats { + spinlock_t lock; /* * all fields are in nanoseconds, averages are ewmas stored left shifted * by 8 |