<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
From: Jan Kara &lt;jack@ucw.cz&gt;

  I've attached possible fix (untested because first I have to update
binutils to be able to compile the kernel and it will take some time
because I have only modem line).



 25-akpm/fs/quota_v1.c |    4 ----
 1 files changed, 4 deletions(-)

diff -puN fs/quota_v1.c~untested-quota-fix fs/quota_v1.c
--- 25/fs/quota_v1.c~untested-quota-fix	Tue Jul 29 14:31:12 2003
+++ 25-akpm/fs/quota_v1.c	Tue Jul 29 14:31:12 2003
@@ -164,7 +164,6 @@ static int v1_read_file_info(struct supe
 	struct v1_disk_dqblk dqblk;
 	int ret;
 
-	down(&amp;dqopt-&gt;dqio_sem);
 	offset = v1_dqoff(0);
 	fs = get_fs();
 	set_fs(KERNEL_DS);
@@ -177,7 +176,6 @@ static int v1_read_file_info(struct supe
 	dqopt-&gt;info[type].dqi_igrace = dqblk.dqb_itime ? dqblk.dqb_itime : MAX_IQ_TIME;
 	dqopt-&gt;info[type].dqi_bgrace = dqblk.dqb_btime ? dqblk.dqb_btime : MAX_DQ_TIME;
 out:
-	up(&amp;dqopt-&gt;dqio_sem);
 	set_fs(fs);
 	return ret;
 }
@@ -191,7 +189,6 @@ static int v1_write_file_info(struct sup
 	loff_t offset;
 	int ret;
 
-	down(&amp;dqopt-&gt;dqio_sem);
 	dqopt-&gt;info[type].dqi_flags &amp;= ~DQF_INFO_DIRTY;
 	offset = v1_dqoff(0);
 	fs = get_fs();
@@ -210,7 +207,6 @@ static int v1_write_file_info(struct sup
 	else if (ret &gt; 0)
 		ret = -EIO;
 out:
-	up(&amp;dqopt-&gt;dqio_sem);
 	set_fs(fs);
 	return ret;
 }

_
</pre></body></html>