]> Pileus Git - ~andy/linux/blobdiff - fs/cifs/readdir.c
vfs: Don't let __fdget_pos() get FMODE_PATH files
[~andy/linux] / fs / cifs / readdir.c
index 5940ecabbe6a4f538f7dc91c334ed3017235e4dd..b15862e0f68c3c749a7cf6278dc6d3666ba71ccc 100644 (file)
@@ -749,7 +749,7 @@ static int cifs_filldir(char *find_entry, struct file *file,
        }
 
        if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) &&
-           CIFSCouldBeMFSymlink(&fattr))
+           couldbe_mf_symlink(&fattr))
                /*
                 * trying to get the type and mode can be slow,
                 * so just call those regular files for now, and mark