diff options
author | David Howells <dhowells@redhat.com> | 2017-11-02 11:27:52 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-11-13 10:38:20 -0500 |
commit | 215804a99283c57fdd869aab350fdf6acc3460b6 (patch) | |
tree | a06a57ba4b15decbd079c0f9d17ca964280d570c /fs/afs/dir.c | |
parent | 83732ec5146916bd49b3036b0ea7dedb7831b90e (diff) |
afs: Introduce a file-private data record
Introduce a file-private data record for kAFS and put the key into it
rather than storing the key in file->private_data.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/dir.c')
-rw-r--r-- | fs/afs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/dir.c b/fs/afs/dir.c index ecda0e6a9f7e..ab618d32554c 100644 --- a/fs/afs/dir.c +++ b/fs/afs/dir.c | |||
@@ -396,7 +396,7 @@ out: | |||
396 | */ | 396 | */ |
397 | static int afs_readdir(struct file *file, struct dir_context *ctx) | 397 | static int afs_readdir(struct file *file, struct dir_context *ctx) |
398 | { | 398 | { |
399 | return afs_dir_iterate(file_inode(file), ctx, file->private_data); | 399 | return afs_dir_iterate(file_inode(file), ctx, afs_file_key(file)); |
400 | } | 400 | } |
401 | 401 | ||
402 | /* | 402 | /* |