diff options
author | Volker Lendecke <vl@samba.org> | 2008-10-09 16:27:49 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-10-13 19:32:38 +0200 |
commit | c530009401f111bc62008a2a75cdad5b9d5ee7d1 (patch) | |
tree | 6390031d8b5372f7329bdecacf8f985ac0559b62 /source3/smbd/dosmode.c | |
parent | c3fedcddd5e79c60f5fcc0219752c27277a4d9f7 (diff) | |
download | samba-c530009401f111bc62008a2a75cdad5b9d5ee7d1.tar.gz samba-c530009401f111bc62008a2a75cdad5b9d5ee7d1.tar.bz2 samba-c530009401f111bc62008a2a75cdad5b9d5ee7d1.zip |
Pass struct smb_request to file_free
on the way to get rid of chain_fsp
Diffstat (limited to 'source3/smbd/dosmode.c')
-rw-r--r-- | source3/smbd/dosmode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c index a5cca53bc7..784b36d9bd 100644 --- a/source3/smbd/dosmode.c +++ b/source3/smbd/dosmode.c @@ -285,7 +285,7 @@ static bool set_ea_dos_attribute(connection_struct *conn, const char *path, SMB_ ret = True; } unbecome_root(); - close_file_fchmod(fsp); + close_file_fchmod(NULL, fsp); return ret; } DEBUG(10,("set_ea_dos_attribute: set EA %s on file %s\n", attrstr, path)); @@ -547,7 +547,7 @@ int file_set_dosmode(connection_struct *conn, const char *fname, become_root(); ret = SMB_VFS_FCHMOD(fsp, unixmode); unbecome_root(); - close_file_fchmod(fsp); + close_file_fchmod(NULL, fsp); if (!newfile) { notify_fname(conn, NOTIFY_ACTION_MODIFIED, FILE_NOTIFY_CHANGE_ATTRIBUTES, fname); |