Re: [PATCH 07/11] ext4: serialize unlocked dio reads with truncate From: Theodore Ts'o <tytso@mit.edu> Date: 2012-09-29 04:49:14 On Fri, Sep 28, 2012 at 07:44:07PM +0400, Dmitry Monakhov wrote: if (attr->ia_valid & ATTR_SIZE) { - if (attr->ia_size != i_size_read(inode)) + if (attr->ia_size != inode->i_size) { Why this change? Why are you not using i_size_read() here? - Ted
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help