On Mon, May 03, 2010 at 09:53:44AM +0530, Nikanth Karthikesan wrote:
Hmm.. I never said to call the filesystem specific fallocate with
i_mutex held. What I suggested was that each filesystem at some point
anyhow takes the i_mutex to preallocate. Thats where the check should
be, to avoid the race. This is what the example patch below does.
--
Regards,
Amit Arora
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author] Next message: [thread] [date] [author]
Messages in current thread:
Re: [PATCH] Prevent creation of files larger than RLIMIT_F ..., Amit K. Arora, (Sun May 2, 11:59 pm)