Re: [Patch] pipe: use file_update_time() when hold i_mutex

From: Andrew Morton
Date: Mon Jul 20 2009 - 17:12:27 EST


On Mon, 6 Jul 2009 01:35:30 -0400
Amerigo Wang <amwang@xxxxxxxxxx> wrote:

>
> file_update_time() should be called with i_mutex held,
> move it before mutex_unlock().
>

Why do you believe that file_update_time() needs i_mutex?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/