diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2018-03-20 21:43:14 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-04-10 22:06:22 +0200 |
commit | 9f7682728728114ed99d8f127f0e1ce3ef9ba857 (patch) | |
tree | eaa2fcf319f8cf953959c5070285bf04f6262c7a /fs/nfs/dir.c | |
parent | NFSv4: Fix nfs4_return_incompatible_delegation (diff) | |
download | linux-9f7682728728114ed99d8f127f0e1ce3ef9ba857.tar.xz linux-9f7682728728114ed99d8f127f0e1ce3ef9ba857.zip |
NFS: Move the delegation return down into nfs4_proc_link()
Move the delegation return out of generic code.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r-- | fs/nfs/dir.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 2f3f86726f5b..b4549e54007d 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c @@ -1932,8 +1932,6 @@ nfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) old_dentry, dentry); trace_nfs_link_enter(inode, dir, dentry); - NFS_PROTO(inode)->return_delegation(inode); - d_drop(dentry); error = NFS_PROTO(dir)->link(inode, dir, &dentry->d_name); if (error == 0) { |