Commit be3898a
smb: client: remove redudant assignment in cifs_strict_fsync()
Remove redudant assignment of @rc as it will be overwritten by the
following cifs_file_flush() call.
Reported-by: Steve French <[email protected]>
Addresses-Coverity: 1665925
Fixes: 210627b ("smb: client: fix missing timestamp updates with O_TRUNC")
Signed-off-by: Paulo Alcantara (Red Hat) <[email protected]>
Cc: [email protected]
Signed-off-by: Steve French <[email protected]>1 parent dba9f99 commit be3898a
1 file changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2754 | 2754 | | |
2755 | 2755 | | |
2756 | 2756 | | |
2757 | | - | |
| 2757 | + | |
2758 | 2758 | | |
2759 | 2759 | | |
2760 | 2760 | | |
2761 | 2761 | | |
2762 | 2762 | | |
2763 | 2763 | | |
2764 | 2764 | | |
2765 | | - | |
2766 | | - | |
2767 | | - | |
2768 | | - | |
| 2765 | + | |
2769 | 2766 | | |
2770 | 2767 | | |
2771 | 2768 | | |
2772 | | - | |
2773 | | - | |
2774 | | - | |
2775 | | - | |
| 2769 | + | |
2776 | 2770 | | |
2777 | 2771 | | |
| 2772 | + | |
2778 | 2773 | | |
2779 | 2774 | | |
2780 | 2775 | | |
| |||
0 commit comments