From 07a668a145036ee16be7f12f359bfb07dc8e79ed Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 4 Feb 1994 20:50:45 +0000 Subject: Formerly io-prenotify.c.~3~ --- libdiskfs/io-prenotify.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libdiskfs/io-prenotify.c b/libdiskfs/io-prenotify.c index b3d8413a..dd9d32b2 100644 --- a/libdiskfs/io-prenotify.c +++ b/libdiskfs/io-prenotify.c @@ -53,17 +53,16 @@ diskfs_S_io_prenotify (struct protid *cred, if (end < np->allocsize) { - /* The user is either foolin' with us, or has the wrong - prenotify size, hence the diagnostic. */ - printf ("io_prenotify: unnecessary call\n"); + /* The user didn't need to do this, so we'll make sure they + have the right shared page info. */ spin_lock (&cred->mapped->lock); - err = ioserver_put_shared_data (cred); + ioserver_put_shared_data (cred); spin_unlock (&cred->mapped->lock); goto out; } err = diskfs_grow (np, end, cred); out: - mutex_unlock (&np->i_toplock); + mutex_unlock (&np->lock); return err; } -- cgit v1.2.3