summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2012-04-05 15:03:02 -0400
committerJosef Bacik <josef@redhat.com>2012-05-30 10:23:27 -0400
commit0c4d2d95d06e920e0c61707e62c7fffc9c57f63a (patch)
tree5d6fa736c7fea0a0afd60eda8e6e0586df6fb606 /fs/btrfs/btrfs_inode.h
parenta25c75d5ad04df0a7abd09585231b4021a91a358 (diff)
downloadblackbird-op-linux-0c4d2d95d06e920e0c61707e62c7fffc9c57f63a.tar.gz
blackbird-op-linux-0c4d2d95d06e920e0c61707e62c7fffc9c57f63a.zip
Btrfs: use i_version instead of our own sequence
We've been keeping around the inode sequence number in hopes that somebody would use it, but nobody uses it and people actually use i_version which serves the same purpose, so use i_version where we used the incore inode's sequence number and that way the sequence is updated properly across the board, and not just in file write. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
-rw-r--r--fs/btrfs/btrfs_inode.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h
index 9b9b15fd5204..3771b8543a7e 100644
--- a/fs/btrfs/btrfs_inode.h
+++ b/fs/btrfs/btrfs_inode.h
@@ -83,9 +83,6 @@ struct btrfs_inode {
*/
u64 generation;
- /* sequence number for NFS changes */
- u64 sequence;
-
/*
* transid of the trans_handle that last modified this inode
*/
OpenPOWER on IntegriCloud