linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] btrfs-progs: Introduce open_btrfs_dir wrapper
@ 2015-08-26  9:04 Zhao Lei
  2015-08-26  9:04 ` [PATCH v2 1/2] " Zhao Lei
  2015-08-26  9:04 ` [PATCH v2 2/2] btrfs-progs: use open_btrfs_dir for btrfs device command Zhao Lei
  0 siblings, 2 replies; 5+ messages in thread
From: Zhao Lei @ 2015-08-26  9:04 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Zhao Lei

This patch introduce open_btrfs_dir() to open a dir in btrfs
filesystem.

It can be used for several tools in btrfs-progs.

Changelog v1-v2:
1: Add error message for open_file failed case

Zhao Lei (2):
  btrfs-progs: Introduce open_btrfs_dir wrapper
  btrfs-progs: use open_btrfs_dir for btrfs device command

 cmds-device.c | 16 +++++-----------
 utils.c       | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 utils.h       |  1 +
 3 files changed, 62 insertions(+), 11 deletions(-)

-- 
1.8.5.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-08-26 15:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-26  9:04 [PATCH v2 0/2] btrfs-progs: Introduce open_btrfs_dir wrapper Zhao Lei
2015-08-26  9:04 ` [PATCH v2 1/2] " Zhao Lei
2015-08-26 15:56   ` David Sterba
2015-08-26  9:04 ` [PATCH v2 2/2] btrfs-progs: use open_btrfs_dir for btrfs device command Zhao Lei
2015-08-26 15:58   ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).