ntfs: fix ntfs_test_inode and ntfs_init_locked_inode function type
[sfrench/cifs-2.6.git] / fs / ntfs / mft.c
index fbb9f1bc623dc555c0f9ced52e11fd158209c09c..0d62cd5bb7f8456b545cb9cc28d7f35fc687fdef 100644 (file)
@@ -958,7 +958,7 @@ bool ntfs_may_write_mft_record(ntfs_volume *vol, const unsigned long mft_no,
                 * dirty code path of the inode dirty code path when writing
                 * $MFT occurs.
                 */
-               vi = ilookup5_nowait(sb, mft_no, (test_t)ntfs_test_inode, &na);
+               vi = ilookup5_nowait(sb, mft_no, ntfs_test_inode, &na);
        }
        if (vi) {
                ntfs_debug("Base inode 0x%lx is in icache.", mft_no);
@@ -1019,7 +1019,7 @@ bool ntfs_may_write_mft_record(ntfs_volume *vol, const unsigned long mft_no,
                vi = igrab(mft_vi);
                BUG_ON(vi != mft_vi);
        } else
-               vi = ilookup5_nowait(sb, na.mft_no, (test_t)ntfs_test_inode,
+               vi = ilookup5_nowait(sb, na.mft_no, ntfs_test_inode,
                                &na);
        if (!vi) {
                /*