summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorRoss Kirk2013-09-24 11:12:38 +0200
committerChris Mason2013-11-12 03:54:16 +0100
commit0a4e558609dd4df30a58a07d9eb14c5ddc2c1241 (patch)
tree1d17d22fd472991fb3f6f707f06eea9ccc8123a9 /fs/btrfs/ctree.h
parentBtrfs: fix two use-after-free bugs with transaction cleanup (diff)
downloadkernel-qcow2-linux-0a4e558609dd4df30a58a07d9eb14c5ddc2c1241.tar.gz
kernel-qcow2-linux-0a4e558609dd4df30a58a07d9eb14c5ddc2c1241.tar.xz
kernel-qcow2-linux-0a4e558609dd4df30a58a07d9eb14c5ddc2c1241.zip
btrfs: remove unused parameter from btrfs_header_fsid
Remove unused parameter, 'eb'. Unused since introduction in 5f39d397dfbe140a14edecd4e73c34ce23c4f9ee Updated to be rebased against current upstream and correct diff supplied this time! Signed-off-by: Ross Kirk <ross.kirk@gmail.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
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 ee0b8aa82828..ee8972b9f1ab 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -2667,7 +2667,7 @@ static inline void btrfs_set_header_backref_rev(struct extent_buffer *eb,
btrfs_set_header_flags(eb, flags);
}
-static inline unsigned long btrfs_header_fsid(struct extent_buffer *eb)
+static inline unsigned long btrfs_header_fsid(void)
{
return offsetof(struct btrfs_header, fsid);
}