Bug in block_write_full_page (fs/buffer.c)?

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

 



Hi,

when block_write_full_page (fs/buffer.c) is called and the page is
fully outside the i_size, the function does not call
end_page_writeback() even though Documentation/filesystems/Locking
explicitly says that any implementation of aops->writepage must do so
in any case:

"If no I/O is submitted, the filesystem must run end_page_writeback()
against the page before returning from writepage."

Is this a bug, is the documentation wrong or is it just me?

TIA,

Martin Jambor

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux