diff options
| author | Youling Tang <[email protected]> | 2024-04-26 15:29:56 +0800 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2024-05-08 17:29:21 -0400 |
| commit | 36aa49d33e8d59246bd338064d6a516f693954e5 (patch) | |
| tree | 626b1c511d896a91f5aaacfcd53c80c49c8515cb /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | c8bda9f20a01cef7e12fd230ada83d53f7cdc884 (diff) | |
bcachefs: Change destroy_inode to free_inode
The vfs[1] documentation describes free_inode as follows:
```
free_inode
this method is called from RCU callback. If you use call_rcu()
in ->destroy_inode to free ‘struct inode’ memory, then it’s
better to release memory in this method.
```
free_inode will be called by the RCU callback, so it might be better
to move the inode free operation to destroy_inode.
Similar to commit ae6b47b5653e ("fs/ntfs3: Change destroy_inode to
free_inode").
Link:
[1]: https://www.kernel.org/doc/html/latest/filesystems/vfs.html
Signed-off-by: Youling Tang <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions