...regression introduced in 6993f74a5.

Signed-off-by: Jeff Layton <[email protected]>
---
 fs/cifs/file.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index 513adbc..45508cf 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -3083,8 +3083,8 @@ static int cifs_readpages(struct file *file, struct 
address_space *mapping,
                }
 
                spin_lock(&cifs_file_list_lock);
-               spin_unlock(&cifs_file_list_lock);
                rdata->cfile = cifsFileInfo_get(open_file);
+               spin_unlock(&cifs_file_list_lock);
                rdata->mapping = mapping;
                rdata->offset = offset;
                rdata->bytes = bytes;
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to