summaryrefslogtreecommitdiffstats
path: root/fs/smbfs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-05-26 17:53:25 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2010-05-27 22:05:02 -0400
commit7ea8085910ef3dd4f3cad6845aaa2b580d39b115 (patch)
treed9c1edb5906f943f7d70bfb4b65106e29772d379 /fs/smbfs
parentcc967be54710d97c05229b2e5ba2d00df84ddd64 (diff)
downloadop-kernel-dev-7ea8085910ef3dd4f3cad6845aaa2b580d39b115.zip
op-kernel-dev-7ea8085910ef3dd4f3cad6845aaa2b580d39b115.tar.gz
drop unused dentry argument to ->fsync
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/smbfs')
-rw-r--r--fs/smbfs/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/smbfs/file.c b/fs/smbfs/file.c
index 84ecf0e..8e187a0 100644
--- a/fs/smbfs/file.c
+++ b/fs/smbfs/file.c
@@ -28,8 +28,9 @@
#include "proto.h"
static int
-smb_fsync(struct file *file, struct dentry * dentry, int datasync)
+smb_fsync(struct file *file, int datasync)
{
+ struct dentry *dentry = file->f_path.dentry;
struct smb_sb_info *server = server_from_dentry(dentry);
int result;
OpenPOWER on IntegriCloud