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

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