patch-2.0.1 linux/fs/smbfs/dir.c

Next file: linux/fs/smbfs/proc.c
Previous file: linux/fs/proc/array.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.0/linux/fs/smbfs/dir.c linux/fs/smbfs/dir.c
@@ -61,7 +61,8 @@
 
 static int
 smb_rename(struct inode *old_dir, const char *old_name, int old_len, 
-           struct inode *new_dir, const char *new_name, int new_len);
+           struct inode *new_dir, const char *new_name, int new_len,
+           int must_be_dir);
 
 static inline void str_upper(char *name)
 {
@@ -882,7 +883,8 @@
 
 static int
 smb_rename(struct inode *old_dir, const char *old_name, int old_len,
-           struct inode *new_dir, const char *new_name, int new_len)
+           struct inode *new_dir, const char *new_name, int new_len,
+           int must_be_dir)
 {
 	int res;
 	char old_path[SMB_MAXPATHLEN], new_path[SMB_MAXPATHLEN];

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov