diff mbox

btrfs-progs: fix re-declared get_device_info()

Message ID 1459841761-491-1-git-send-email-anand.jain@oracle.com (mailing list archive)
State Accepted
Headers show

Commit Message

Anand Jain April 5, 2016, 7:36 a.m. UTC
The other get_device_info() is in the same file, 4 lines above.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 utils.h | 2 --
 1 file changed, 2 deletions(-)

Comments

David Sterba April 5, 2016, 8:43 a.m. UTC | #1
On Tue, Apr 05, 2016 at 03:36:01PM +0800, Anand Jain wrote:
> The other get_device_info() is in the same file, 4 lines above.
> 
> Signed-off-by: Anand Jain <anand.jain@oracle.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/utils.h b/utils.h
index ea54692aca86..e2ff41ad4ec1 100644
--- a/utils.h
+++ b/utils.h
@@ -187,8 +187,6 @@  int get_device_info(int fd, u64 devid,
 		struct btrfs_ioctl_dev_info_args *di_args);
 int test_uuid_unique(char *fs_uuid);
 u64 disk_size(const char *path);
-int get_device_info(int fd, u64 devid,
-		struct btrfs_ioctl_dev_info_args *di_args);
 u64 get_partition_size(const char *dev);
 
 int test_minimum_size(const char *file, u32 leafsize);