diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-04-27 14:36:24 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:23:10 +0200 |
commit | 20a68004022d5b894efdf5959ebd538b8e91ec73 (patch) | |
tree | 3ae1f1fc3feeee3df54cab85835205959467d15e /fs/btrfs/ctree.h | |
parent | 093258e6ebaf178bb25da514f0d1f744968cc900 (diff) | |
download | blackbird-op-linux-20a68004022d5b894efdf5959ebd538b8e91ec73.tar.gz blackbird-op-linux-20a68004022d5b894efdf5959ebd538b8e91ec73.zip |
btrfs: Unexport and rename btrfs_invalidate_inodes
This function is no longer used outside of inode.c so just make it
static. At the same time give a more becoming name, since it's not
really invalidating the inodes but just calling d_prune_alias. Last,
but not least - move the function above the sole caller to avoid
introducing yet-another-pointless forward declaration.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 3d6b2dc86c8f..bfa96697209a 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -3231,7 +3231,6 @@ int btrfs_orphan_cleanup(struct btrfs_root *root); void btrfs_orphan_commit_root(struct btrfs_trans_handle *trans, struct btrfs_root *root); int btrfs_cont_expand(struct inode *inode, loff_t oldsize, loff_t size); -void btrfs_invalidate_inodes(struct btrfs_root *root); void btrfs_add_delayed_iput(struct inode *inode); void btrfs_run_delayed_iputs(struct btrfs_fs_info *fs_info); int btrfs_prealloc_file_range(struct inode *inode, int mode, |