projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
f2fs: move bio_private allocation out of f2fs_bio_alloc()
[deliverable/linux.git]
/
fs
/
f2fs
/
namei.c
diff --git
a/fs/f2fs/namei.c
b/fs/f2fs/namei.c
index 64c07169df050b4b358186540031365bd67f4b56..32972787f12f4905dd0d696151e3c07165d124e9 100644
(file)
--- a/
fs/f2fs/namei.c
+++ b/
fs/f2fs/namei.c
@@
-427,6
+427,11
@@
static int f2fs_rename(struct inode *old_dir, struct dentry *old_dentry,
if (!new_entry)
goto out_dir;
+ if (update_dent_inode(old_inode, &new_dentry->d_name)) {
+ f2fs_put_page(new_page, 1);
+ goto out_dir;
+ }
+
f2fs_set_link(new_dir, new_entry, new_page, old_inode);
new_inode->i_ctime = CURRENT_TIME;
This page took
0.024525 seconds
and
5
git commands to generate.