Skip to content

Commit

Permalink
btrfs: added helper functions to iterate backrefs
Browse files Browse the repository at this point in the history
These helper functions iterate back references and call a function for each
backref. There is also a function to resolve an inode to a path in the
file system.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
  • Loading branch information
Jan Schmidt committed Sep 29, 2011
1 parent 0a7a051 commit a542ad1
Show file tree
Hide file tree
Showing 4 changed files with 851 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/btrfs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ btrfs-y += super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \
extent_map.o sysfs.o struct-funcs.o xattr.o ordered-data.o \
extent_io.o volumes.o async-thread.o ioctl.o locking.o orphan.o \
export.o tree-log.o free-space-cache.o zlib.o lzo.o \
compression.o delayed-ref.o relocation.o delayed-inode.o scrub.o
compression.o delayed-ref.o relocation.o delayed-inode.o backref.o \
scrub.o

btrfs-$(CONFIG_BTRFS_FS_POSIX_ACL) += acl.o
Loading

0 comments on commit a542ad1

Please sign in to comment.