git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e594bb
)
md: move GET_BITMAP_FILE ioctl out from mddev_lock.
author
NeilBrown
<neilb@suse.de>
Mon, 15 Dec 2014 01:57:00 +0000
(12:57 +1100)
committer
NeilBrown
<neilb@suse.de>
Thu, 5 Feb 2015 22:32:56 +0000
(09:32 +1100)
It makes more sense to report bitmap_info->file, rather than
bitmap->file (the later is only available once the array is
active).
With that change, use mddev->lock to protect bitmap_info being
set to NULL, and we can call get_bitmap_file() without taking
the mutex.
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c
patch
|
blob
|
history
drivers/md/md.h
patch
|
blob
|
history
diff --cc
drivers/md/md.c
Simple merge
diff --cc
drivers/md/md.h
Simple merge