Re: mount.cifs.c toggle_dac_capability() stores return code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 19 Apr 2012 20:56:13 +0200
Lars Müller <lmuelle@xxxxxxxx> wrote:

> Hello again,
> 
> the build process of the cifs-utils for Mandriva 2011 made me notice of
> the unused variable rc in toggle_dac_capability() of mount.cifs.c.
> 
> A bit up in the code we store the return value and do not make use of it
> while calling return.
> 
> The attached patch intends to fix this.
> 
> The failing build result is still visible at
> https://build.opensuse.org/package/live_build_log?arch=x86_64&package=cifs-utils&project=network%3Asamba%3ASTABLE&repository=Mandriva_2011
> 
> Cheers,
> 
> Lars

ACK. Good catch.
-- 
Jeff Layton <jlayton@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux