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

Next file: linux/fs/sysv/namei.c
Previous file: linux/fs/smbfs/dir.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.0/linux/fs/smbfs/proc.c linux/fs/smbfs/proc.c
@@ -305,7 +305,7 @@
 			case ERRdiffdevice: return EXDEV;
 			case ERRnofiles:    return 0;
 			case ERRbadshare:   return ETXTBSY;
-			case ERRlock:       return EDEADLOCK;
+			case ERRlock:       return EDEADLK;
 			case ERRfilexists:  return EEXIST;
 			case 87:            return 0; /* Unknown error!! */
 			/* This next error seems to occur on an mv when
@@ -330,7 +330,7 @@
 			case ERRdata: return EIO;
 			case ERRbadreq: return ERANGE;
 			case ERRbadshare: return ETXTBSY;
-			case ERRlock: return EDEADLOCK;
+			case ERRlock: return EDEADLK;
 			default: return EIO;
 		}
 	else if (errcls == ERRCMD) 

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