diff options
author | Jeremy Allison <jra@samba.org> | 1998-10-23 03:44:57 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-10-23 03:44:57 +0000 |
commit | a4b02a62b790022027e94f6e2bef3a6ff2898aa6 (patch) | |
tree | 8c0341311567b73bde72b3b437e5d435452b1dc7 /source3 | |
parent | 5a85f2070cfd5a5c3defad59506e151dd47be58b (diff) | |
download | samba-a4b02a62b790022027e94f6e2bef3a6ff2898aa6.tar.gz samba-a4b02a62b790022027e94f6e2bef3a6ff2898aa6.tar.xz samba-a4b02a62b790022027e94f6e2bef3a6ff2898aa6.zip |
Fixed debug reporting in the changed code.
Jeremy.
(This used to be commit d815e2d7a65c95ae71372b4fc8fe82f0202386dc)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/trans2.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index e19b3a94a8f..e335afb001f 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -1700,9 +1700,14 @@ static int call_trans2setfilepathinfo(connection_struct *conn, (iterate_fsp->share_mode | DELETE_ON_CLOSE_FLAG) : (iterate_fsp->share_mode & ~DELETE_ON_CLOSE_FLAG) ); + DEBUG(10,("call_trans2setfilepathinfo: Changing share mode for fnum %d, file %s\ +dev = %x, inode = %.0f from %x to %x\n", + iterate_fsp->fnum, iterate_fsp->fsp_name, (unsigned int)dev, + (double)inode, iterate_fsp->share_mode, new_share_mode )); + if(modify_share_mode(token, iterate_fsp, new_share_mode)==False) DEBUG(0,("call_trans2setfilepathinfo: failed to change delete on close for fnum %d, \ -dev = %x, inode = %.0f\n", fsp->fnum, (unsigned int)dev, (double)inode)); +dev = %x, inode = %.0f\n", iterate_fsp->fnum, (unsigned int)dev, (double)inode)); } unlock_share_entry(fsp->conn, dev, inode, token); |