• Tao Ma's avatar
    ocfs2: Use proper parameter for some inode operation. · 19bd341f
    Tao Ma authored
    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: default avatarTao Ma <tao.ma@oracle.com>
    19bd341f
namei.c 48.7 KB