.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SD_MEDIA_CHANGED" "" "06 October 2005" "" ""
.SH NAME
sd_media_changed \- check if our medium changed
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int sd_media_changed (struct gendisk * \fIdisk\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdisk\fB\fR
kernel device descriptor
.SH "DESCRIPTION"
.PP
Returns 0 if not applicable or no change; 1 if change
.SH "NOTE"
.PP
this function is invoked from the block subsystem.