ext4: don't hold spinlock while calling ext4_issue_discard()
authorLukas Czerner <lczerner@redhat.com>
Thu, 28 Oct 2010 01:30:04 +0000 (21:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 28 Oct 2010 01:30:04 +0000 (21:30 -0400)
commit53fdcf992d616484d388a8ab9dad07dc8b8f1178
treef9542d11f725bfb552636f53eab455f917138f47
parent582987098207f1182ed5c7d01d5fedf7a5f56286
ext4: don't hold spinlock while calling ext4_issue_discard()

We can't hold the block group spinlock because we ext4_issue_discard()
calls wait and hence can get rescheduled.

Google-Bug-Id: 3017678

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c