summaryrefslogtreecommitdiffstats
path: root/fs/jffs2
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-02-28 12:22:59 +0300
committerSteve French <stfrench@microsoft.com>2020-03-17 13:26:26 -0500
commit39946886fc865a4c26f1b3ea0805936db2d8986d (patch)
treef668cd4abd909f616b731eb6553a1524714ba432 /fs/jffs2
parentfb33c6510d5595144d585aa194d377cf74d31911 (diff)
downloadlinux-39946886fc865a4c26f1b3ea0805936db2d8986d.tar.bz2
cifs: potential unintitliazed error code in cifs_getattr()
Smatch complains that "rc" could be uninitialized. fs/cifs/inode.c:2206 cifs_getattr() error: uninitialized symbol 'rc'. Changing it to "return 0;" improves readability as well. Fixes: cc1baf98c8f6 ("cifs: do not ignore the SYNC flags in getattr") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Steve French <stfrench@microsoft.com> Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions