diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-07-11 23:02:38 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-12 01:04:47 +0200 |
commit | 8875408abd935a77b6e1cb11c21c438aa2e7ec75 (patch) | |
tree | 25b8dc9d54b703651bc2ebabb2d6dea09f433eb0 /fs/fat | |
parent | fs: ramfs: file-nommu: add SetPageUptodate() (diff) | |
download | linux-8875408abd935a77b6e1cb11c21c438aa2e7ec75.tar.xz linux-8875408abd935a77b6e1cb11c21c438aa2e7ec75.zip |
sgi-xp: nested calls to spin_lock_irqsave()
The code here has a nested spin_lock_irqsave(). It's not needed since
IRQs are already disabled and it causes a problem because it means that
IRQs won't be enabled again at the end. The second call to
spin_lock_irqsave() will overwrite the value of irq_flags and we can't
restore the proper settings.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Robin Holt <holt@sgi.com>
Cc: Jack Steiner <steiner@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fat')
0 files changed, 0 insertions, 0 deletions