[PATCH v2] Fix issue in mark_buffer_dirty_inode

From: Hyeonwoo Cha
Date: Tue Jun 04 2024 - 02:00:59 EST


Hi,

Thank you for the feedback. I have revised the patch based on your suggestions. Below is the updated patch description.

This patch addresses the FIXME in the mark_buffer_dirty_inode function. It modifies the function to align with the current data-plane operations. Additionally, it corrects the unnecessary buffer allocation. To ensure compatibility with various filesystems using mark_buffer_dirty_inode, the code in other filesystems has also been updated.

Detailed analysis:
- This patch fixes issues in the mark_buffer_dirty_inode function.
- The function has been modified to conform to the current data-plane operations.
- Unnecessary buffer allocations have been corrected to improve memory usage efficiency.
- To enhance compatibility, the code in other filesystems using mark_buffer_dirty_inode has been revised accordingly.

Signed-off-by: Hyeonwoo Cha <chw1119@xxxxxxxxxxxxx>
Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>