diff options
| author | Harshad Shirwadkar <[email protected]> | 2020-11-06 03:58:53 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2020-11-07 04:01:02 +0000 |
| commit | a80f7fcf18672ae4971a6b713b58c0d389aa99fe (patch) | |
| tree | 9e9ab960e54314d25f53970faf07dad997ba74a1 /fs/jbd2/commit.c | |
| parent | ext4: drop redundant calls ext4_fc_track_range (diff) | |
| download | kernel-a80f7fcf18672ae4971a6b713b58c0d389aa99fe.tar.gz kernel-a80f7fcf18672ae4971a6b713b58c0d389aa99fe.zip | |
ext4: fixup ext4_fc_track_* functions' signature
Firstly, pass handle to all ext4_fc_track_* functions and use
transaction id found in handle->h_transaction->h_tid for tracking fast
commit updates. Secondly, don't pass inode to
ext4_fc_track_link/create/unlink functions. inode can be found inside
these functions as d_inode(dentry). However, rename path is an
exeception. That's because in that case, we need inode that's not same
as d_inode(dentry). To handle that, add a couple of low-level wrapper
functions that take inode and dentry as arguments.
Suggested-by: Jan Kara <[email protected]>
Signed-off-by: Harshad Shirwadkar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
