patch-1.3.48 linux/fs/msdos/namei.c
Next file: linux/fs/namei.c
Previous file: linux/fs/msdos/inode.c
Back to the patch index
Back to the overall index
-  Lines: 9
 -  Date:
Sun Dec 17 11:02:41 1995
 -  Orig file: 
v1.3.47/linux/fs/msdos/namei.c
 -  Orig date: 
Mon Nov 27 12:48:32 1995
 
diff -u --recursive --new-file v1.3.47/linux/fs/msdos/namei.c linux/fs/msdos/namei.c
@@ -452,7 +452,7 @@
 		res = -EPERM;
 		goto unlink_done;
 	}
-	if (MSDOS_I(inode)->i_attrs & ATTR_SYS){
+	if (IS_IMMUTABLE(inode)){
 		res = -EPERM;
 		goto unlink_done;
 	}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this