Skip to contentSkip to conversation

f2fs: remove unneeded f2fs_make_empty declaration

PATCH New Chao Yu 1 participant 1 message Apr 30, 2015 F2FS file system

lore
Share & tools
lore

Chao Yu

author
#0 lore raw

PATCH 1/2 f2fs: remove unneeded f2fs_make_empty declaration

Remove f2fs_make_empty() declaration, since the main body of this function is move into do_make_empty_dir() and the function is obsolete now.

---
 fs/f2fs/f2fs.h | 1 -
 1 file changed, 1 deletion(-)
fs/f2fs/f2fs.h +0 -1
index 8be6cab..ff1014b 100644
@@ -1478,7 +1478,6 @@ int __f2fs_add_link(struct inode *, const struct qstr *, struct inode *, nid_t,
 void f2fs_delete_entry(struct f2fs_dir_entry *, struct page *, struct inode *,
 							struct inode *);
 int f2fs_do_tmpfile(struct inode *, struct inode *);
-int f2fs_make_empty(struct inode *, struct inode *);
 bool f2fs_empty_dir(struct inode *);
 
 static inline int f2fs_add_link(struct dentry *dentry, struct inode *inode)
Signature · 1 line
2.3.3