Re: [PATCH] tracefs, debugfs: fix refcount imbalance in start_creating

2015-11-04 Thread Daniel Borkmann
On 11/02/2015 08:07 PM, Steven Rostedt wrote: On Fri, 9 Oct 2015 20:30:10 +0200 Daniel Borkmann wrote: [...] Fixes: 4282d60689d4 ("tracefs: Add new tracefs file system") Fixes: 190afd81e4a5 ("debugfs: split the beginning and the end of __create_file() off") Signed-off-by: Daniel Borkmann

Re: [PATCH] tracefs, debugfs: fix refcount imbalance in start_creating

2015-11-02 Thread Steven Rostedt
On Fri, 9 Oct 2015 20:30:10 +0200 Daniel Borkmann wrote: > In tracefs' start_creating(), we pin the file system to safely access > its root. When we failed to create a file, we unpin the file system via > failed_creating() to release the mount count and eventually the reference > of the vfsmount

[PATCH] tracefs, debugfs: fix refcount imbalance in start_creating

2015-10-09 Thread Daniel Borkmann
In tracefs' start_creating(), we pin the file system to safely access its root. When we failed to create a file, we unpin the file system via failed_creating() to release the mount count and eventually the reference of the vfsmount. However, when we run into an error during lookup_one_len() when s