aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifssmb.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r--fs/cifs/cifssmb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index 95fbba4ea7d4..641cc8ffc51b 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -3679,6 +3679,7 @@ int CIFSFindNext(const int xid, struct cifsTconInfo *tcon,
3679 if (rc) { 3679 if (rc) {
3680 if (rc == -EBADF) { 3680 if (rc == -EBADF) {
3681 psrch_inf->endOfSearch = true; 3681 psrch_inf->endOfSearch = true;
3682 cifs_buf_release(pSMB);
3682 rc = 0; /* search probably was closed at end of search*/ 3683 rc = 0; /* search probably was closed at end of search*/
3683 } else 3684 } else
3684 cFYI(1, ("FindNext returned = %d", rc)); 3685 cFYI(1, ("FindNext returned = %d", rc));