aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/dec/int-handler.S
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-09-22 19:17:40 -0400
committerSteve French <sfrench@us.ibm.com>2010-09-29 15:04:33 -0400
commitf3983c2133e9bea9c8b4f690737d15e3e9b02491 (patch)
tree89cc00b209368a41e5554ac1be103ef6e79d8fe1 /arch/mips/dec/int-handler.S
parentf7a40689fd1e963cb1006349e050c07584895db5 (diff)
cifs: fix handling of signing with writepages (try #6)
Get a reference to the file early so we can eventually base the decision about signing on the correct tcon. If that doesn't work for some reason, then fall back to generic_writepages. That's just as likely to fail, but it simplifies the error handling. In truth, I'm not sure how that could occur anyway, so maybe a NULL open_file here ought to be a BUG()? After that, we drop the reference to the open_file and then we re-get one prior to each WriteAndX call. This helps ensure that the filehandle isn't held open any longer than necessary and that open files are reclaimed prior to each write call. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'arch/mips/dec/int-handler.S')
0 files changed, 0 insertions, 0 deletions