[PATCH 1/3] Btrfs-progs: move open_file_or_dir() to utils.c

2012-11-30 Thread Anand jain
From: Anand Jain anand.j...@oracle.com The definition of the function open_file_or_dir() is moved from common.c to utils.c in order to be able to share some common code between scrub and the device stats in the following step. That common code uses open_file_or_dir(). Since open_file_or_dir()

[PATCH 1/3] Btrfs-progs: move open_file_or_dir() to utils.c

2012-11-27 Thread Anand jain
From: Anand Jain anand.j...@oracle.com The definition of the function open_file_or_dir() is moved from common.c to utils.c in order to be able to share some common code between scrub and the device stats in the following step. That common code uses open_file_or_dir(). Since open_file_or_dir()

[PATCH 1/3] Btrfs-progs: move open_file_or_dir() to utils.c

2012-11-15 Thread Anand jain
From: Anand Jain anand.j...@oracle.com The definition of the function open_file_or_dir() is moved from common.c to utils.c in order to be able to share some common code between scrub and the device stats in the following step. That common code uses open_file_or_dir(). Since open_file_or_dir()