summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-06-07 11:35:40 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2010-08-09 16:48:22 -0400
commitbd55597520a2eaa0d71dd7683513a14bfd1bdf5c (patch)
treeb99685fe2d9b6c9ad87b7d3e6a8fc47a5ac248ce /fs/btrfs/ctree.h
parentd5c1515cf374951f07e5bf97b6ff3718d3401b6f (diff)
downloadop-kernel-dev-bd55597520a2eaa0d71dd7683513a14bfd1bdf5c.zip
op-kernel-dev-bd55597520a2eaa0d71dd7683513a14bfd1bdf5c.tar.gz
convert btrfs to ->evict_inode()
NB: do we want btrfs_wait_ordered_range() on eviction of inodes with positive i_nlink on subvolume with zero root_refs? If not, btrfs_evict_inode() can be simplified by unconditionally bailing out in case of i_nlink > 0 in the very beginning... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 29c2009..394d542 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -2389,7 +2389,7 @@ unsigned long btrfs_force_ra(struct address_space *mapping,
pgoff_t offset, pgoff_t last_index);
int btrfs_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf);
int btrfs_readpage(struct file *file, struct page *page);
-void btrfs_delete_inode(struct inode *inode);
+void btrfs_evict_inode(struct inode *inode);
void btrfs_put_inode(struct inode *inode);
int btrfs_write_inode(struct inode *inode, struct writeback_control *wbc);
void btrfs_dirty_inode(struct inode *inode);
OpenPOWER on IntegriCloud