Re: [PATCH] ext4: hold page lock when checking mapping in ext4_page_mkwrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 18, 2011 at 11:59:32AM -0400, Josef Bacik wrote:
> Pages can be evicted from cache outside of truncate, for example when
> invalidating pages after writing with O_DIRECT.  The only proper way to check
> page->mapping is under the page lock, so fix ext4_page_mkwrite to do this.
> Thanks,

Josef, please check the ext4_page_mkwrite implementation in the vfs
tree, which is just a wrapper around the generic code and thus shouldn't
have this problem any more.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux