diff options
author | 2011-05-11 14:53:17 +1000 | |
---|---|---|
committer | 2011-05-11 14:53:17 +1000 | |
commit | 7c4e06ff2b6a4c09638551dfde76f37f9fca5c0c (patch) | |
tree | 15ae0b698fc2d5347a776215c3bb6faaf45b2b41 /net/unix/af_unix.c | |
parent | md/raid1: improve handling of pages allocated for write-behind. (diff) | |
download | wireguard-linux-7c4e06ff2b6a4c09638551dfde76f37f9fca5c0c.tar.xz wireguard-linux-7c4e06ff2b6a4c09638551dfde76f37f9fca5c0c.zip |
md/raid10: some tidying up in fix_read_error
Currently the rdev on which a read error happened could be removed
before we perform the fix_error handling. This requires extra tests
for NULL.
So delay the rdev_dec_pending call until after the call to
fix_read_error so that we can be sure that the rdev still exists.
This allows an 'if' clause to be removed so the body gets re-indented
back one level.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions