inode.c (f80da1e70f1ffec3825aa0a1d0801f4896e002b6) | inode.c (c8205636029fc869278c55b7336053b3e7ae3ef4) |
---|---|
1/* 2 * linux/fs/ext4/inode.c 3 * 4 * Copyright (C) 1992, 1993, 1994, 1995 5 * Remy Card (card@masi.ibp.fr) 6 * Laboratoire MASI - Institut Blaise Pascal 7 * Universite Pierre et Marie Curie (Paris VI) 8 * --- 2488 unchanged lines hidden (view full) --- 2497 if (buffer_unwritten(bh)) { 2498 /* A delayed write to unwritten bh should be marked 2499 * new and mapped. Mapped ensures that we don't do 2500 * get_block multiple times when we write to the same 2501 * offset and new ensures that we do proper zero out 2502 * for partial write. 2503 */ 2504 set_buffer_new(bh); | 1/* 2 * linux/fs/ext4/inode.c 3 * 4 * Copyright (C) 1992, 1993, 1994, 1995 5 * Remy Card (card@masi.ibp.fr) 6 * Laboratoire MASI - Institut Blaise Pascal 7 * Universite Pierre et Marie Curie (Paris VI) 8 * --- 2488 unchanged lines hidden (view full) --- 2497 if (buffer_unwritten(bh)) { 2498 /* A delayed write to unwritten bh should be marked 2499 * new and mapped. Mapped ensures that we don't do 2500 * get_block multiple times when we write to the same 2501 * offset and new ensures that we do proper zero out 2502 * for partial write. 2503 */ 2504 set_buffer_new(bh); |
2505 set_buffer_mapped(bh); |
|
2505 } 2506 return 0; 2507} 2508 2509/* 2510 * This function is used as a standard get_block_t calback function 2511 * when there is no desire to allocate any blocks. It is used as a 2512 * callback function for block_write_begin() and block_write_full_page(). --- 3345 unchanged lines hidden --- | 2506 } 2507 return 0; 2508} 2509 2510/* 2511 * This function is used as a standard get_block_t calback function 2512 * when there is no desire to allocate any blocks. It is used as a 2513 * callback function for block_write_begin() and block_write_full_page(). --- 3345 unchanged lines hidden --- |