ocfs2: Use proper parameter for some inode operation.
authorTao Ma <tao.ma@oracle.com>
Tue, 18 Aug 2009 03:44:10 +0000 (11:44 +0800)
committerJoel Becker <joel.becker@oracle.com>
Wed, 23 Sep 2009 03:09:47 +0000 (20:09 -0700)
commit19bd341f6a6c6b314bcac55bbd906bfd3603fe9e
tree2eefd82e6ae2495b4d3288dc452763eea8d2fb37
parentc18b812d127a971901180188b918a7cd98ccd4d6
ocfs2: Use proper parameter for some inode operation.

In order to make the original function more suitable for reflink,
we modify the following inode operations. Both are tiny.

1. ocfs2_mknod_locked only use dentry for mlog, so move it to
   the caller so that reflink can use it without dentry.
2. ocfs2_prepare_orphan_dir only want inode to get its ip_blkno.
   So use ip_blkno instead.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
fs/ocfs2/namei.c