patch-2.1.103 linux/fs/ntfs/super.c

Next file: linux/fs/proc/root.c
Previous file: linux/fs/ntfs/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.102/linux/fs/ntfs/super.c linux/fs/ntfs/super.c
@@ -483,13 +483,14 @@
 		error=ntfs_read_attr(bitmap,bitmap->vol->at_data,
 				     0,start,&io);
 		if(error)goto fail;
-		if(io.size==0)
+		if(io.size==0) {
 			if(found)
 				goto success;
 			else{
 				error=ENOSPC;
 				goto fail;
 			}
+		}
 		loc=start*8;
 		cnt=*count;
 		error=search_bits(bits,&loc,&cnt,io.size);

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