diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2014-05-05 07:11:53 -0300 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2014-07-28 18:52:10 +0300 |
commit | 0a3d571bb8940a189322cc5f51466bdab044a48b (patch) | |
tree | 80e24c5569765253b922a27f3a47e77678471876 /include | |
parent | 495f2bf6c4ed2da5dcadac96312f71da2a5af949 (diff) |
UBI: block: Set disk_capacity out of the mutex
There's no need to set the disk capacity with the mutex held, so this
commit takes the variable setting out of the mutex. This simplifies
the disk capacity fix for very large volumes in a follow up commit.
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions