How are b+-trees are useind in filesystems

2011-02-06 Thread Serdar Dere
Hello, I am new here and I think this is not a real btrfs question but a general filesystem-btree question. I want to know how I do these following things: - How do I translate /home/serdar/public_html - btree - how do I know how files/directories are related to each other I did these with

[PATCH] Btrfs - Fix memory leak in btrfs_init_new_device()

2011-02-06 Thread Ilya Dryomov
Memory allocated by calling kstrdup() should be freed. Signed-off-by: Ilya Dryomov idryo...@gmail.com --- fs/btrfs/volumes.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index d158530..9649cdd 100644 --- a/fs/btrfs/volumes.c +++

[PATCH v2] btrfs: fix return value check of btrfs_start_transaction()

2011-02-06 Thread Tsutomu Itoh
The error check of btrfs_start_transaction() is added, and the mistake of the error check on several places is corrected. [NOTE] This is a short-term solution. With this patch: - The panic isn't done by the NULL pointer reference etc. (even if BUG_ON() is increased temporarily) - The