commit | e1cc86037b689a82cdb2df50c32fa8cf9d6b6c3a | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Thu Jun 07 11:47:52 2007 +0100 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Mon Jul 09 08:23:22 2007 +0100 |
tree | 8d7502be9841fae1f13afd2676b86c9139ac0fc2 | |
parent | ffed8ab342e39b8b5f4d5c94c37a708e225ffcd8 [diff] |
[GFS2] Fix bug in error path of inode This fixes a bug in the ordering of operations in the error path of createi. Its not valid to do an iput() when holding the inode's glock since the iput() will (in this case) result in delete_inode() being called which needs to grab the lock itself. This was causing the recursive lock checking code to trigger. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>