summaryrefslogtreecommitdiff
path: root/fs/ntfs/attrib.c
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2008-12-18 11:23:29 +0300
committerDavid S. Miller <davem@davemloft.net>2008-12-19 09:50:50 +0300
commit67c2fb8ff0eda3cee95954a1dd245c3ce1a10486 (patch)
treee25dc49e42338225f25bb999aff0bebae8cb78a9 /fs/ntfs/attrib.c
parent1762a29ae5ebdd974eb2ba0c36b56ab6f7a9c16d (diff)
downloadlinux-67c2fb8ff0eda3cee95954a1dd245c3ce1a10486.tar.xz
ucc_geth: Fix IRQ freeing code in ucc_geth_open()
open() routine calls stop() in case of errors, the function will try to free the requested IRQ. But we don't know if it was actually requested, so the code might issue bogus free_irq(0, dev) call. Fix this by rearranging the code so that now request_irq() is the last call in the open() routine, and move free_irq() into the close(). Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/ntfs/attrib.c')
0 files changed, 0 insertions, 0 deletions