]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/smbfs/file.c
drop unused dentry argument to ->fsync
[net-next-2.6.git] / fs / smbfs / file.c
index 84ecf0e43f91233d45c38cc07fbf2cbf07f3cfdb..8e187a0f94bb28f0e35e751550fa9df47903c76c 100644 (file)
@@ -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;