patch-2.4.15 linux/fs/reiserfs/objectid.c

Next file: linux/fs/reiserfs/prints.c
Previous file: linux/fs/reiserfs/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.14/linux/fs/reiserfs/objectid.c linux/fs/reiserfs/objectid.c
@@ -145,9 +145,11 @@
 	    }
 
             /* JDM comparing two little-endian values for equality -- safe */
-	    if (rs->s_oid_cursize == rs->s_oid_maxsize)
+	if (rs->s_oid_cursize == rs->s_oid_maxsize) {
 		/* objectid map must be expanded, but there is no space */
+		PROC_INFO_INC( s, leaked_oid );
 		return;
+	}
 
 	    /* expand the objectid map*/
 	    memmove (map + i + 3, map + i + 1, 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)