Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8dae604 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: move a branch for code redability



This patch moves a function in f2fs_delete_entry for code readability.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
parent a18ff063
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -550,12 +550,11 @@ void f2fs_delete_entry(struct f2fs_dir_entry *dentry, struct page *page,

	dir->i_ctime = dir->i_mtime = CURRENT_TIME;

	if (inode && S_ISDIR(inode->i_mode)) {
	if (inode) {
		if (S_ISDIR(inode->i_mode)) {
			drop_nlink(dir);
			update_inode_page(dir);
		}

	if (inode) {
		inode->i_ctime = CURRENT_TIME;
		drop_nlink(inode);
		if (S_ISDIR(inode->i_mode)) {