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

Next file: linux/fs/ncpfs/file.c
Previous file: linux/fs/nametrans.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.42/linux/fs/ncpfs/dir.c linux/fs/ncpfs/dir.c
@@ -67,8 +67,7 @@
 
 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,
-	    int must_be_dir);
+	    struct inode *new_dir, const char *new_name, int new_len);
 
 static inline void str_upper(char *name)
 {
@@ -129,7 +128,6 @@
 	NULL,			/* mknod */
 	ncp_rename,		/* rename */
 	NULL,			/* readlink */
-	NULL,			/* follow_link */
 	NULL,			/* bmap */
 	NULL,			/* truncate */
 	NULL,			/* permission */
@@ -965,8 +963,7 @@
 }
 
 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,
-		      int must_be_dir)
+		      struct inode *new_dir, const char *new_name, int new_len)
 {
 	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