diff options
| author | Filipe Manana <[email protected]> | 2023-09-22 10:37:20 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-10-12 14:44:12 +0000 |
| commit | cddaaacca9339d2f13599a822dc2f68be71d2e0d (patch) | |
| tree | 1efba3cee8858abda9129316c3b968d97e70cfea /fs/btrfs/inode.c | |
| parent | btrfs: simplify error check condition at btrfs_dirty_inode() (diff) | |
| download | kernel-cddaaacca9339d2f13599a822dc2f68be71d2e0d.tar.gz kernel-cddaaacca9339d2f13599a822dc2f68be71d2e0d.zip | |
btrfs: remove noinline from btrfs_update_inode()
The noinline attribute of btrfs_update_inode() is pointless as the
function is exported and widely used, so remove it.
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/inode.c')
| -rw-r--r-- | fs/btrfs/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index f16dfeabeaf0..fb7d7d0077f0 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -4001,9 +4001,9 @@ failed: /* * copy everything in the in-memory inode into the btree. */ -noinline int btrfs_update_inode(struct btrfs_trans_handle *trans, - struct btrfs_root *root, - struct btrfs_inode *inode) +int btrfs_update_inode(struct btrfs_trans_handle *trans, + struct btrfs_root *root, + struct btrfs_inode *inode) { struct btrfs_fs_info *fs_info = root->fs_info; int ret; |
