dir.c (80548b03991f58758a336424a90bf9f988e3b077) | dir.c (b134d687dd9369bb2407a23c6ecc9e0a15d8bb20) |
---|---|
1/* dir.c: AFS filesystem directory handling 2 * 3 * Copyright (C) 2002, 2018 Red Hat, Inc. All Rights Reserved. 4 * Written by David Howells (dhowells@redhat.com) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 762 unchanged lines hidden (view full) --- 771 struct inode *ti; 772 773 if (cookie->statuses[i].abort_code != 0) 774 continue; 775 776 ti = afs_iget(dir->i_sb, key, &cookie->fids[i], 777 &cookie->statuses[i], 778 &cookie->callbacks[i], | 1/* dir.c: AFS filesystem directory handling 2 * 3 * Copyright (C) 2002, 2018 Red Hat, Inc. All Rights Reserved. 4 * Written by David Howells (dhowells@redhat.com) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 762 unchanged lines hidden (view full) --- 771 struct inode *ti; 772 773 if (cookie->statuses[i].abort_code != 0) 774 continue; 775 776 ti = afs_iget(dir->i_sb, key, &cookie->fids[i], 777 &cookie->statuses[i], 778 &cookie->callbacks[i], |
779 cbi); | 779 cbi, dvnode); |
780 if (i == 0) { 781 inode = ti; 782 } else { 783 if (!IS_ERR(ti)) 784 iput(ti); 785 } 786 } 787 --- 332 unchanged lines hidden (view full) --- 1120{ 1121 struct afs_vnode *vnode; 1122 struct inode *inode; 1123 1124 if (fc->ac.error < 0) 1125 return; 1126 1127 inode = afs_iget(fc->vnode->vfs_inode.i_sb, fc->key, | 780 if (i == 0) { 781 inode = ti; 782 } else { 783 if (!IS_ERR(ti)) 784 iput(ti); 785 } 786 } 787 --- 332 unchanged lines hidden (view full) --- 1120{ 1121 struct afs_vnode *vnode; 1122 struct inode *inode; 1123 1124 if (fc->ac.error < 0) 1125 return; 1126 1127 inode = afs_iget(fc->vnode->vfs_inode.i_sb, fc->key, |
1128 newfid, newstatus, newcb, fc->cbi); | 1128 newfid, newstatus, newcb, fc->cbi, fc->vnode); |
1129 if (IS_ERR(inode)) { 1130 /* ENOMEM or EINTR at a really inconvenient time - just abandon 1131 * the new directory on the server. 1132 */ 1133 fc->ac.error = PTR_ERR(inode); 1134 return; 1135 } 1136 --- 668 unchanged lines hidden --- | 1129 if (IS_ERR(inode)) { 1130 /* ENOMEM or EINTR at a really inconvenient time - just abandon 1131 * the new directory on the server. 1132 */ 1133 fc->ac.error = PTR_ERR(inode); 1134 return; 1135 } 1136 --- 668 unchanged lines hidden --- |