Rev | Line | |
---|
[2288] | 1 | commit cc63cbbc138f60d6b5964fa859dcd778717b24c2 |
---|
| 2 | Author: Marc Dionne <marc.c.dionne@gmail.com> |
---|
| 3 | Date: Mon May 28 21:43:12 2012 -0400 |
---|
| 4 | |
---|
| 5 | Linux 3.4: replace end_writeback with clear_inode |
---|
| 6 | |
---|
| 7 | end_writeback() is renamed to clear_inode(). Add a configure test |
---|
| 8 | and cope. |
---|
| 9 | |
---|
| 10 | Change-Id: Icaf5b6b54d0ee377fabcf0b295d690eaa6b4be5e |
---|
| 11 | Reviewed-on: http://gerrit.openafs.org/7503 |
---|
| 12 | Reviewed-by: Derrick Brashear <shadow@dementix.org> |
---|
| 13 | Tested-by: BuildBot <buildbot@rampaginggeek.com> |
---|
| 14 | (cherry picked from commit 2b33384a4a7b88842281021129ffccc837d91d36) |
---|
| 15 | Reviewed-on: http://gerrit.openafs.org/7578 |
---|
| 16 | |
---|
| 17 | diff --git a/src/afs/LINUX/osi_vfsops.c b/src/afs/LINUX/osi_vfsops.c |
---|
| 18 | index a6be1b3..bc951a2 100644 |
---|
| 19 | --- a/src/afs/LINUX/osi_vfsops.c |
---|
| 20 | +++ b/src/afs/LINUX/osi_vfsops.c |
---|
| 21 | @@ -284,7 +284,7 @@ afs_evict_inode(struct inode *ip) |
---|
| 22 | osi_Panic("inode freed while still hashed"); |
---|
| 23 | |
---|
| 24 | truncate_inode_pages(&ip->i_data, 0); |
---|
| 25 | + clear_inode(ip); |
---|
| 26 | - end_writeback(ip); |
---|
| 27 | |
---|
| 28 | #if !defined(STRUCT_SUPER_OPERATIONS_HAS_ALLOC_INODE) |
---|
| 29 | afs_osi_Free(ip->u.generic_ip, sizeof(struct vcache)); |
---|
Note: See
TracBrowser
for help on using the repository browser.