]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: exfat: Correct return code
authorValdis Kletnieks <valdis.kletnieks@vt.edu>
Tue, 12 Nov 2019 02:09:57 +0000 (21:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Nov 2019 23:15:45 +0000 (00:15 +0100)
commitecbc9e989f62e59cdd3e87b1e7babacc765041ba
tree9fb593b2a4abf1ae0f885784613c196c0c3055fa
parentad03f80f7b7229f39623f6a11fe8cb07cab1c05e
staging: exfat: Correct return code

Use -ENOTEMPTY rather than -EEXIST for attempting to remove
a directory that still has files in it.

Signed-off-by: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
Link: https://lore.kernel.org/r/20191112021000.42091-10-Valdis.Kletnieks@vt.edu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/exfat/exfat_super.c