diff options
author | Jeremy Allison <jra@samba.org> | 2005-04-01 23:11:28 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2005-04-01 23:11:28 +0000 |
commit | 15578c84dcdff5366494881287b7f2b1e95696ad (patch) | |
tree | a63ce650a80ffc334d5e3795e58c3ec0b9f1d49b /source/smbd/oplock.c | |
parent | 59faccded90d86073475f0002b12009dac1e1afa (diff) | |
download | samba-15578c84dcdff5366494881287b7f2b1e95696ad.tar.gz samba-15578c84dcdff5366494881287b7f2b1e95696ad.tar.xz samba-15578c84dcdff5366494881287b7f2b1e95696ad.zip |
r6172: Tidy up error processing significantly. Remove unix_ERR_XXX global nastyness.
Jeremy.
Diffstat (limited to 'source/smbd/oplock.c')
-rw-r--r-- | source/smbd/oplock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/smbd/oplock.c b/source/smbd/oplock.c index a55d5443d56..ea3ac437449 100644 --- a/source/smbd/oplock.c +++ b/source/smbd/oplock.c @@ -934,6 +934,9 @@ static BOOL oplock_break(SMB_DEV_T dev, SMB_INO_T inode, unsigned long file_id, abort(); } + /* We know we have no saved errors here. */ + set_saved_error_triple(0, 0, NT_STATUS_OK); + if( DEBUGLVL( 3 ) ) { dbgtext( "oplock_break: returning success for " ); dbgtext( "dev = %x, inode = %.0f, file_id = %lu\n", (unsigned int)dev, (double)inode, file_id ); |