udf: fix memory leak while allocating blocks during write
authorNamjae Jeon <namjae.jeon@samsung.com>
Tue, 9 Oct 2012 15:08:56 +0000 (00:08 +0900)
committerJan Kara <jack@suse.cz>
Thu, 13 Dec 2012 15:33:23 +0000 (16:33 +0100)
commit2fb7d99d0de3fd8ae869f35ab682581d8455887a
tree14bf40139379dd770dff2a89984a5d0bdefa5df1
parent25389bb207987b5774182f763b9fb65ff08761c8
udf: fix memory leak while allocating blocks during write

Need to brelse the buffer_head stored in cur_epos and next_epos.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/inode.c