commented early_printk patch because of rejects.
[linux-flexiantxendom0-3.2.10.git] / fs / quota_v1.c
index 6909643..573a93a 100644 (file)
@@ -164,7 +164,6 @@ static int v1_read_file_info(struct super_block *sb, int type)
        struct v1_disk_dqblk dqblk;
        int ret;
 
-       down(&dqopt->dqio_sem);
        offset = v1_dqoff(0);
        fs = get_fs();
        set_fs(KERNEL_DS);
@@ -177,7 +176,6 @@ static int v1_read_file_info(struct super_block *sb, int type)
        dqopt->info[type].dqi_igrace = dqblk.dqb_itime ? dqblk.dqb_itime : MAX_IQ_TIME;
        dqopt->info[type].dqi_bgrace = dqblk.dqb_btime ? dqblk.dqb_btime : MAX_DQ_TIME;
 out:
-       up(&dqopt->dqio_sem);
        set_fs(fs);
        return ret;
 }
@@ -191,7 +189,6 @@ static int v1_write_file_info(struct super_block *sb, int type)
        loff_t offset;
        int ret;
 
-       down(&dqopt->dqio_sem);
        dqopt->info[type].dqi_flags &= ~DQF_INFO_DIRTY;
        offset = v1_dqoff(0);
        fs = get_fs();
@@ -210,7 +207,6 @@ static int v1_write_file_info(struct super_block *sb, int type)
        else if (ret > 0)
                ret = -EIO;
 out:
-       up(&dqopt->dqio_sem);
        set_fs(fs);
        return ret;
 }