diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-31 01:22:04 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-19 13:01:25 -0500 |
commit | b583043e99bc6d91e98fae32bd9eff6a5958240a (patch) | |
tree | 8f2f9a4d28ae16c7d452808ff400bb1f31fb09c8 /fs/efivarfs | |
parent | 30e46aba8f1010b03178f04c0c56be299c063df2 (diff) |
kill f_dentry uses
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/efivarfs')
-rw-r--r-- | fs/efivarfs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/efivarfs/file.c b/fs/efivarfs/file.c index cdb2971192a5..90001da9abfd 100644 --- a/fs/efivarfs/file.c +++ b/fs/efivarfs/file.c | |||
@@ -47,8 +47,8 @@ static ssize_t efivarfs_file_write(struct file *file, | |||
47 | 47 | ||
48 | if (bytes == -ENOENT) { | 48 | if (bytes == -ENOENT) { |
49 | drop_nlink(inode); | 49 | drop_nlink(inode); |
50 | d_delete(file->f_dentry); | 50 | d_delete(file->f_path.dentry); |
51 | dput(file->f_dentry); | 51 | dput(file->f_path.dentry); |
52 | } else { | 52 | } else { |
53 | mutex_lock(&inode->i_mutex); | 53 | mutex_lock(&inode->i_mutex); |
54 | i_size_write(inode, datasize + sizeof(attributes)); | 54 | i_size_write(inode, datasize + sizeof(attributes)); |