patch-2.3.47 linux/fs/udf/file.c

Next file: linux/include/asm-alpha/core_mcpcia.h
Previous file: linux/fs/super.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.46/linux/fs/udf/file.c linux/fs/udf/file.c
@@ -145,6 +145,9 @@
 	brelse(bh);
 	kunmap(page);
 	SetPageUptodate(page);
+	/* only one page here */
+	if (to > inode->i_size)
+		inode->i_size = to;
 	return 0;
 }
 

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