From: Miao Xie Date: Wed, 15 May 2013 07:48:20 +0000 (+0000) Subject: Btrfs: introduce grab/put functions for the root of the fs/file tree X-Git-Tag: v3.11-rc1~70^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0feb9d96e71a88d7eec56f41b8f23e92af889b0;p=pandora-kernel.git Btrfs: introduce grab/put functions for the root of the fs/file tree The grab/put funtions will be used in the next patch, which need grab the root object and ensure it is not freed. We use reference counter instead of the srcu lock is to aovid blocking the memory reclaim task, which invokes synchronize_srcu(). Signed-off-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed