diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-16 21:42:32 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-18 01:21:29 -0500 |
commit | b89b12b46211d971d75e5ca8249817bc9e11c453 (patch) | |
tree | 3b846ec3daa6ce9e301668121b8c335b0d879470 /fs/autofs4/inode.c | |
parent | 26e6c910670171410577c7df2aebe94cef76e150 (diff) | |
download | op-kernel-dev-b89b12b46211d971d75e5ca8249817bc9e11c453.zip op-kernel-dev-b89b12b46211d971d75e5ca8249817bc9e11c453.tar.gz |
autofs4: clean ->d_release() and autofs4_free_ino() up
The latter is called only when both ino and dentry are about to
be freed, so cleaning ->d_fsdata and ->dentry is pointless.
Acked-by: Ian Kent <raven@themaw.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/autofs4/inode.c')
-rw-r--r-- | fs/autofs4/inode.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/autofs4/inode.c b/fs/autofs4/inode.c index 0df0c7c..180fa24 100644 --- a/fs/autofs4/inode.c +++ b/fs/autofs4/inode.c @@ -43,10 +43,6 @@ void autofs4_clean_ino(struct autofs_info *ino) void autofs4_free_ino(struct autofs_info *ino) { - if (ino->dentry) { - ino->dentry->d_fsdata = NULL; - ino->dentry = NULL; - } kfree(ino); } |