Skip to contentSkip to conversation

linux-next: manual merge of the vfs tree with the f2fs tree

DISCUSSION Stephen Rothwell 1 participant 1 message Apr 13, 2015 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Al,

Today's linux-next merge of the vfs tree got a conflict in fs/f2fs/f2fs.h between commit 510022a85839 ("f2fs: add F2FS_INLINE_DOTS to recover missing dot dentries") from the f2fs tree and commit 5dd3dc06371a ("VFS: normal filesystems (and lustre): d_inode() annotations") from the vfs tree.

I fixed it up (see below) and can carry the fix as necessary (no action is required).

Signature · 18 lines
Cheers,
Stephen Rothwell                    [email protected]

diff --cc fs/f2fs/f2fs.h
index 053361ace0ec,02e4ab3e7d4d..000000000000
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@@ -1481,8 -1391,8 +1481,8 @@@ bool f2fs_empty_dir(struct inode *)
  
  static inline int f2fs_add_link(struct dentry *dentry, struct inode *inode)
  {
- 	return __f2fs_add_link(dentry->d_parent->d_inode, &dentry->d_name,
+ 	return __f2fs_add_link(d_inode(dentry->d_parent), &dentry->d_name,
 -				inode);
 +				inode, inode->i_ino, inode->i_mode);
  }
  
  /*