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

Next file: linux/fs/nfs/bio.c
Previous file: linux/fs/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.0/linux/fs/ncpfs/dir.c linux/fs/ncpfs/dir.c
@@ -63,7 +63,8 @@
 
 static int
 ncp_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)
@@ -1099,7 +1100,8 @@
 
 static int
 ncp_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_name[old_len+1];

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