X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fmdt%2Fmdt_lproc.c;h=1ad735ee103151de4599086e256bb3b04f7b57f8;hp=a0cf37742a02601ff225483c4ce28c6232e93a32;hb=8a0a6dbec5537764958d4863e76de249fdd675a4;hpb=3643e27f7a97dac195a102db4cf7f895e019159c diff --git a/lustre/mdt/mdt_lproc.c b/lustre/mdt/mdt_lproc.c index a0cf377..1ad735e 100644 --- a/lustre/mdt/mdt_lproc.c +++ b/lustre/mdt/mdt_lproc.c @@ -303,7 +303,7 @@ static ssize_t identity_upcall_store(struct kobject *kobj, /* Remove any extraneous bits from the upcall (e.g. linefeeds) */ down_write(&hash->uc_upcall_rwsem); - count = sscanf(buffer, "%s", hash->uc_upcall); + sscanf(buffer, "%s", hash->uc_upcall); up_write(&hash->uc_upcall_rwsem); if (strcmp(hash->uc_name, mdt_obd_name(mdt)) != 0)