summaryrefslogtreecommitdiff
path: root/md_p.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-11-22 20:58:06 +1100
committerNeilBrown <neilb@suse.de>2010-11-22 20:58:06 +1100
commit52e965c2969723c80fd50d393a7e15658bc217c9 (patch)
treeda1a15d083cc46e9c84a8787ca13da6da5d64d80 /md_p.h
parent403410eb97e9ae77f99fd7632f0093660748197f (diff)
Factor out is_bare test.
Instead of open coding (and using horrible gotos), make this a separate function. Also fix the check for end of device - SEEK_END doesn't work on block devices. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'md_p.h')
0 files changed, 0 insertions, 0 deletions