btrfs: drop premature generation setting in btrfs_init_new_buffer()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: add comment for btrfs_clear_buffer_dirtyfs/ | +20 | 0 replies | |
| 2/2 | btrfs: drop premature generation setting in btrfs_init_new_buffer()fs/ | +2 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Boris Burkov |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] btrfs: drop premature generation setting in btrfs_init_new_buffer()
In btrfs_init_new_buffer(), we set the buffer's generation just for the check in btrfs_clear_buffer_dirty(). So just pass NULL to skip the check and we don't need to set the generation before erasing the buffer.
No functional change.
See commit messages for details.
Sun YangKai (2):
btrfs: add comment for btrfs_clear_buffer_dirty
btrfs: drop premature generation setting in btrfs_init_new_buffer()
fs/btrfs/extent-tree.c | 6 ++---- fs/btrfs/extent_io.c | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 4 deletions(-)
Signature · 1 line
2.51.2