diff options
author | Michael Adam <obnox@samba.org> | 2008-01-10 15:49:35 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-10 15:49:35 +0100 |
commit | e9a3a62e7448bef72d9c17c90ff2b404082f067c (patch) | |
tree | 882a2c92c86ea112ece2611bd2b33d7b9662a4f2 /source3/modules/vfs_commit.c | |
parent | 1d66f4d58b5fdd9c4e0c022cd2724e05d144510b (diff) | |
download | samba-e9a3a62e7448bef72d9c17c90ff2b404082f067c.tar.gz samba-e9a3a62e7448bef72d9c17c90ff2b404082f067c.tar.bz2 samba-e9a3a62e7448bef72d9c17c90ff2b404082f067c.zip |
Remove redundant parameter fd from SMB_VFS_WRITE().
Michael
(This used to be commit c8ae7d095a2a6a7eac920a68ca7244e3a423e1b1)
Diffstat (limited to 'source3/modules/vfs_commit.c')
-rw-r--r-- | source3/modules/vfs_commit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/modules/vfs_commit.c b/source3/modules/vfs_commit.c index fe7324122f..ac391cf007 100644 --- a/source3/modules/vfs_commit.c +++ b/source3/modules/vfs_commit.c @@ -229,12 +229,11 @@ static int commit_open( static ssize_t commit_write( vfs_handle_struct * handle, files_struct * fsp, - int fd, void * data, size_t count) { ssize_t ret; - ret = SMB_VFS_NEXT_WRITE(handle, fsp, fd, data, count); + ret = SMB_VFS_NEXT_WRITE(handle, fsp, data, count); if (ret > 0) { if (commit(handle, fsp, fsp->fh->pos, ret) == -1) { |