[Ocfs2-devel] [PATCH 1/2] ocfs2: fix error handling in ocfs2_ioctl_move_extents()

Andrew Morton akpm at linux-foundation.org
Tue Apr 9 13:09:48 PDT 2013


On Tue, 09 Apr 2013 11:17:40 +0800 Jeff Liu <jeff.liu at oracle.com> wrote:

> From: Dan Carpenter <dan.carpenter at oracle.com>
> 
> Smatch complains that if we hit an error (for example if the file is
> immutable) then "range" has uninitialized stack data and we copy it to
> the user.
> 
> I've re-written the error handling to avoid this problem and make it a
> little cleaner as well.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
> Reviewed-by: Jie Liu <jeff.liu at oracle.com>

I've added your signed-off-by to these patches - it should have been
included because you were on the patch delivery path.




More information about the Ocfs2-devel mailing list