commit | 7b1287662304c3cb05cb38f5e3e2d69f386e8f10 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@redhat.com> | Thu Jul 24 12:17:14 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:04:05 2008 -0400 |
tree | bb589bfc3854f801b4098f2f2140e42a2f9e8071 | |
parent | 33268eaf0b3db5e2bd12c0ada81a8e8f87a46d68 [diff] [blame] |
Btrfs: Create orphan inode records to prevent lost files after a crash Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h index 9f2a4ef..df624fd 100644 --- a/fs/btrfs/btrfs_inode.h +++ b/fs/btrfs/btrfs_inode.h
@@ -39,6 +39,9 @@ struct posix_acl *i_acl; struct posix_acl *i_default_acl; + /* for keeping track of orphaned inodes */ + struct list_head i_orphan; + /* * transid of the trans_handle that last modified this inode */