diff options
| author | Trond Myklebust <[email protected]> | 2011-03-25 18:15:11 +0000 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2011-03-27 15:48:07 +0000 |
| commit | 4d65c520fb4abed970069d18c119cfe85624f46d (patch) | |
| tree | 74671eb263380317f1e4a958a6a7f73749e98eec /fs/ubifs/commit.c | |
| parent | Merge branch 'syscore' of git://git.kernel.org/pub/scm/linux/kernel/git/rafae... (diff) | |
| download | kernel-4d65c520fb4abed970069d18c119cfe85624f46d.tar.gz kernel-4d65c520fb4abed970069d18c119cfe85624f46d.zip | |
NFS: Fix a hang in the writeback path
Now that the inode scalability patches have been merged, it is no longer
safe to call igrab() under the inode->i_lock.
Now that we no longer call nfs_clear_request() until the nfs_page is
being freed, we know that we are always holding a reference to the
nfs_open_context, which again holds a reference to the path, and so
the inode cannot be freed until the last nfs_page has been removed
from the radix tree and freed.
We can therefore skip the igrab()/iput() altogether.
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions
