vfs: shave work on failed file open
[linux-2.6-block.git] / fs / internal.h
index 8260c738980cfe9b2f3ba4b3f061609bc77b7b35..f08d8fe3ae5e81d4252087d5553ae309a4136761 100644 (file)
@@ -94,6 +94,7 @@ extern void chroot_fs_refs(const struct path *, const struct path *);
 struct file *alloc_empty_file(int flags, const struct cred *cred);
 struct file *alloc_empty_file_noaccount(int flags, const struct cred *cred);
 struct file *alloc_empty_backing_file(int flags, const struct cred *cred);
+void release_empty_file(struct file *f);
 
 static inline void put_file_access(struct file *file)
 {