Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion fs/exportfs/expfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,11 @@ static int get_name(const struct path *path, char *name, struct dentry *child)
}

out_close:
fput(file);
/*
* @file is the read-only directory opened above, so __fput()
* cannot block on anything the caller holds.
*/
__fput_sync(file);
out:
return error;
}
Expand Down
Loading