diff options
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -810,9 +810,10 @@ EXPORT_SYMBOL(finish_open); | |||
810 | * This can be used to set the result of a successful lookup in ->atomic_open(). | 810 | * This can be used to set the result of a successful lookup in ->atomic_open(). |
811 | * The filesystem's atomic_open() method shall return NULL after calling this. | 811 | * The filesystem's atomic_open() method shall return NULL after calling this. |
812 | */ | 812 | */ |
813 | void finish_no_open(struct file *file, struct dentry *dentry) | 813 | int finish_no_open(struct file *file, struct dentry *dentry) |
814 | { | 814 | { |
815 | file->f_path.dentry = dentry; | 815 | file->f_path.dentry = dentry; |
816 | return 1; | ||
816 | } | 817 | } |
817 | EXPORT_SYMBOL(finish_no_open); | 818 | EXPORT_SYMBOL(finish_no_open); |
818 | 819 | ||