Re: [PATCH] udf: fix udf_add_free_space

2008-02-10 Thread Cyrill Gorcunov
[Cyrill Gorcunov - Sun, Feb 10, 2008 at 11:00:52PM +0300] | [Marcin Slusarz - Sun, Feb 10, 2008 at 08:27:33PM +0100] | | in commit 742ba02a51c8d0bf5446b154531179760c1ed0a2 | | (udf: create common function for changing free space counter) | | by accident I reversed safety condition which lead to | |

Re: [PATCH] udf: fix udf_add_free_space

2008-02-10 Thread Cyrill Gorcunov
[Marcin Slusarz - Sun, Feb 10, 2008 at 08:27:33PM +0100] | in commit 742ba02a51c8d0bf5446b154531179760c1ed0a2 | (udf: create common function for changing free space counter) | by accident I reversed safety condition which lead to | null pointer dereference in case of media error | and wrong countin

[PATCH] udf: fix udf_add_free_space

2008-02-10 Thread Marcin Slusarz
in commit 742ba02a51c8d0bf5446b154531179760c1ed0a2 (udf: create common function for changing free space counter) by accident I reversed safety condition which lead to null pointer dereference in case of media error and wrong counting of free space in normal situation Signed-off-by: Marcin Slusarz